From: Junio C Hamano Date: Tue, 3 Nov 2015 23:13:08 +0000 (-0800) Subject: Merge branch 'rs/wt-status-detached-branch-fix' X-Git-Tag: v2.7.0-rc0~43 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a59d1d8035a1a6d878274e97818c56bb691ac5c0?hp=a59d1d8035a1a6d878274e97818c56bb691ac5c0 Merge branch 'rs/wt-status-detached-branch-fix' "git status --branch --short" accessed beyond the constant string "HEAD", which has been corrected. * rs/wt-status-detached-branch-fix: wt-status: use skip_prefix() to get rid of magic string length constants wt-status: don't skip a magical number of characters blindly wt-status: avoid building bogus branch name with detached HEAD wt-status: exit early using goto in wt_shortstatus_print_tracking() t7060: add test for status --branch on a detached HEAD ---