summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1b4755)
raw | patch | inline | side by side (parent: b1b4755)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Mon, 21 Mar 2011 10:14:05 +0000 (11:14 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 17:31:37 +0000 (10:31 -0700) |
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6009-rev-list-parent.sh | patch | blob | history |
index 52f7b277ceae3ae183bc6082c01af9f76bd39a86..0f0e45773095f713245092cd94e8e7042a939185 100755 (executable)
. ./test-lib.sh
-commit () {
- test_tick &&
- echo $1 >file &&
- git commit -a -m $1 &&
- git tag $1
-}
-
test_expect_success setup '
touch file &&
git add file &&
- commit one &&
+ test_commit one &&
test_tick=$(($test_tick - 2400)) &&
- commit two &&
- commit three &&
- commit four &&
+ test_commit two &&
+ test_commit three &&
+ test_commit four &&
git log --pretty=oneline --abbrev-commit
'