summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-09-14 03:31:07 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-09-19 03:22:30 -0700
commit1aad91f5a715af92892aea7764beb829938ab111 (patch)
treeb24d4768bf14cf11f2987274ab438e9749d4fe8d /connect.c
parentMake fetch a builtin (diff)
downloadtgif-1aad91f5a715af92892aea7764beb829938ab111.tar.xz
Correct builtin-fetch to handle + in refspecs
If we are fetching to a local reference (the so called peer_ref) and the refspec that created this ref/peer_ref association had started with '+' we are supposed to allow a non-fast-forward update during fetch, even if --force was not supplied on the command line. The builtin-fetch implementation was not honoring this setting as it was copied from the wrong struct ref instance. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
0 files changed, 0 insertions, 0 deletions