summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2015-10-31 18:37:12 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-11-01 09:58:20 -0800
commit8d8325f8ee3ef187a22743ccbedb978e52e3d095 (patch)
treef8496b29ab9aabe6254a14ae7a4e967e29aeced4 /Documentation/git-commit.txt
parentwt-status: avoid building bogus branch name with detached HEAD (diff)
downloadtgif-8d8325f8ee3ef187a22743ccbedb978e52e3d095.tar.xz
wt-status: don't skip a magical number of characters blindly
Use the variable branch_name, which already has "refs/heads/" removed, instead of blindly advancing in the ->branch string by 11 bytes. This is safer and less magical. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
0 files changed, 0 insertions, 0 deletions