diff options
author | René Scharfe <l.s.r@web.de> | 2015-10-31 18:37:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-11-01 09:58:20 -0800 |
commit | 8d8325f8ee3ef187a22743ccbedb978e52e3d095 (patch) | |
tree | f8496b29ab9aabe6254a14ae7a4e967e29aeced4 /Documentation/RelNotes/1.6.2.1.txt | |
parent | wt-status: avoid building bogus branch name with detached HEAD (diff) | |
download | tgif-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/RelNotes/1.6.2.1.txt')
0 files changed, 0 insertions, 0 deletions