summaryrefslogtreecommitdiff
path: root/compat/pread.c
diff options
context:
space:
mode:
authorLibravatar Matthieu Moy <Matthieu.Moy@imag.fr>2009-09-20 19:33:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-20 12:11:29 -0700
commitbb8cccd01762d26c832b85d3b09798650e294c5f (patch)
tree364585792b070a305d72eb6dcb4d5ddc9fb68c55 /compat/pread.c
parentGIT 1.6.4.4 (diff)
downloadtgif-bb8cccd01762d26c832b85d3b09798650e294c5f.tar.xz
push: Correctly initialize nonfastforward in transport_push.
The variable is assigned unconditionally in print_push_status, but print_push_status is not reached by all codepaths. In particular, this fixes a bug where "git push ... nonexisting-branch" was complaining about non-fast forward. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions