]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ab/fetch-prune'
authorJunio C Hamano <gitster@pobox.com>
Tue, 6 Mar 2018 22:54:01 +0000 (14:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Mar 2018 22:54:01 +0000 (14:54 -0800)
commitc1a7902f9adda4c3a64de99d565cf9982f12b1d9
tree5a5cb79cd75abf4bafd8585ff099296d18f761e4
parenta4ae2e5a1c45890f5eeccb2d1989a15c07f99e3d
parent6317972cff9b4df7a6cc666b08be7133ba81617c
Merge branch 'ab/fetch-prune'

Clarify how configured fetch refspecs interact with the "--prune"
option of "git fetch", and also add a handy short-hand for getting
rid of stale tags that are locally held.

* ab/fetch-prune:
  fetch: make the --prune-tags work with <url>
  fetch: add a --prune-tags option and fetch.pruneTags config
  fetch tests: add scaffolding for the new fetch.pruneTags
  git-fetch & config doc: link to the new PRUNING section
  git remote doc: correct dangerous lies about what prune does
  git fetch doc: add a new section to explain the ins & outs of pruning
  fetch tests: fetch <url> <spec> as well as fetch [<remote>]
  fetch tests: expand case/esac for later change
  fetch tests: double quote a variable for interpolation
  fetch tests: test --prune and refspec interaction
  fetch tests: add a tag to be deleted to the pruning tests
  fetch tests: re-arrange arguments for future readability
  fetch tests: refactor in preparation for testing tag pruning
  remote: add a macro for "refs/tags/*:refs/tags/*"
  fetch: stop accessing "remote" variable indirectly
  fetch: trivially refactor assignment to ref_nr
  fetch: don't redundantly NULL something calloc() gave us
Documentation/config.txt
builtin/fetch.c
contrib/completion/git-completion.bash
t/t5510-fetch.sh