Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-02 23:43:05 +0400
committerJunio C Hamano <gitster@pobox.com>2012-07-10 03:42:22 +0400
commitd5f6b1d756a29255efedee3cb6e8526aedcfeb00 (patch)
treeaf73d5cab8e0aa357f9ace153857d95a684bdf64 /t/t1512-rev-parse-disambiguation.sh
parent8e676e8ba567eccee1510b90ec2e0364dcc2f3b4 (diff)
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/t1512-rev-parse-disambiguation.sh')
-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 6f87d8ea9d..da25fad924 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
'