summaryrefslogtreecommitdiffstats
path: root/t/t7063-status-untracked-cache.sh
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-01-07 02:12:15 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-08 04:20:07 +0100
commitb10731f43dc21fa47c275052e7c074c686335cd3 (patch)
treea8dec989c054725eb2f0605aef101aca5c17d403 /t/t7063-status-untracked-cache.sh
parentGit 2.8.4 (diff)
downloadgit-b10731f43dc21fa47c275052e7c074c686335cd3.tar.xz
git-b10731f43dc21fa47c275052e7c074c686335cd3.zip
branch_get_push: do not segfault when HEAD is detached
Move the detached HEAD check from branch_get_push_1() to branch_get_push() to avoid setting branch->push_tracking_ref when branch is NULL. Signed-off-by: Kyle Meyer <kyle@kyleam.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions