aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-02 12:43:05 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-09 16:42:22 -0700
commitd5f6b1d756a29255efedee3cb6e8526aedcfeb00 (patch)
treeaf73d5cab8e0aa357f9ace153857d95a684bdf64 /t
parent8e676e8ba567eccee1510b90ec2e0364dcc2f3b4 (diff)
downloadgit-d5f6b1d756a29255efedee3cb6e8526aedcfeb00.tar.gz
git-d5f6b1d756a29255efedee3cb6e8526aedcfeb00.tar.xz
revision.c: the "log" family, except for "show", takes committish
Add a field to setup_revision_opt structure and allow these callers to tell the setup_revisions command parsing machinery that short SHA1 it encounters are meant to name committish. This step does not go all the way to connect the setup_revisions() to sha1_name.c yet. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t1512-rev-parse-disambiguation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1512-rev-parse-disambiguation.sh b/t/t1512-rev-parse-disambiguation.sh
index 6f87d8ea9..da25fad92 100755
--- a/t/t1512-rev-parse-disambiguation.sh
+++ b/t/t1512-rev-parse-disambiguation.sh
@@ -117,7 +117,7 @@ test_expect_failure 'rev-parse name1..name2 takes only commit-ishes on both ends
git rev-parse 000000000..
'
-test_expect_failure 'git log takes only commit-ish' '
+test_expect_success 'git log takes only commit-ish' '
git log 000000000
'