aboutsummaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2011-09-17 21:57:44 +1000
committerJunio C Hamano <gitster@pobox.com>2011-09-18 13:56:58 -0700
commit894642f68d3160db9116ca350da83c4a78cff8f2 (patch)
treebb5b925867f3faca25b218fd6505108e488c88c7 /http-push.c
parent10b98fa5b3fab4a4ba46f31b58f8da703b465b68 (diff)
downloadgit-894642f68d3160db9116ca350da83c4a78cff8f2.tar.gz
git-894642f68d3160db9116ca350da83c4a78cff8f2.tar.xz
merge: remove global variable head[]
Also kill head_invalid in favor of "head_commit == NULL". Local variable "head" in cmd_merge() is renamed to "head_sha1" to make sure I don't miss any access because this variable should not be used after head_commit is set (use head_commit->object.sha1 instead). Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
0 files changed, 0 insertions, 0 deletions