summaryrefslogtreecommitdiff
path: root/Documentation/technical
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2013-10-23 15:50:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-24 20:27:46 (GMT)
commit68a304d5fed6657e452e8c1571fe9ca93d0a272a (patch)
treeb76912784f616f0aabf1b721fcad79cf4b0cbbf8 /Documentation/technical
parentd0d06e892a1a7bc6a1dfd76374da09f0170cae2c (diff)
downloadgit-68a304d5fed6657e452e8c1571fe9ca93d0a272a.zip
git-68a304d5fed6657e452e8c1571fe9ca93d0a272a.tar.gz
git-68a304d5fed6657e452e8c1571fe9ca93d0a272a.tar.bz2
t5510: check that "git fetch --prune --tags" does not prune branches
"git fetch --prune --tags" is currently interpreted as follows: * "--tags" is equivalent to specifying a refspec "refs/tags/*:refs/tags/*", and supersedes any default refspecs configured via remote.$REMOTE.fetch. * "--prune" only operates on the refspecs being fetched. Therefore, "git fetch --prune --tags" prunes tags in refs/tags/* but does not fetch or prune other references. The fact that this command does not prune references outside of refs/tags/* was previously untested. So add a test that verifies the status quo. However, the status quo is surprising, so it will be changed later in this patch series. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions