diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-05-25 13:13:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-05-25 13:13:43 -0700 |
| commit | d0b16c8f878bef5c1268e033a3d1f427498c7008 (patch) | |
| tree | 23b896e51418ea182bf6335020b5b53138398df9 /builtin | |
| parent | Merge branch 'by/blame-doc-m-c' (diff) | |
| parent | Documentation/SubmittingPatches: clarify GMail section and SMTP (diff) | |
| download | git-d0b16c8f878bef5c1268e033a3d1f427498c7008.tar.gz git-d0b16c8f878bef5c1268e033a3d1f427498c7008.zip | |
Merge branch 'maint'
* maint:
Documentation/SubmittingPatches: clarify GMail section and SMTP
show-branch: use DEFAULT_ABBREV instead of 7
t7502-commit: fix spelling
test get_git_work_tree() return value for NULL
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/show-branch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/show-branch.c b/builtin/show-branch.c index e20fcf3e93..e8719aa9e9 100644 --- a/builtin/show-branch.c +++ b/builtin/show-branch.c @@ -313,7 +313,8 @@ static void show_one_commit(struct commit *commit, int no_name) } else printf("[%s] ", - find_unique_abbrev(commit->object.sha1, 7)); + find_unique_abbrev(commit->object.sha1, + DEFAULT_ABBREV)); } puts(pretty_str); strbuf_release(&pretty); |
