Skip to content

RFC Optional sub hierarchy for remote tags

Wink Saville git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest3 patches 8 repliesIn review
  2. v3 RFC1 patch 2 repliesSuperseded
  3. v2 RFC1 patch 0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Teach remote add the --remote-tags optionDocumentation/git-remote.txt builtin/remote.c refs.c +1 more+49 -62 replies
2/3Teach tag to list remote-tagsbuiltin/tag.c ref-filter.c ref-filter.h+14 -80 replies
3/3Test git remote add -f --remote-tagst/t5505-remote.sh+20 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchJunio C HamanoJacob KellerBryan TurnerÆvar Arnfjörð Bjarmason
1/3Helped-by Helped-by Helped-by Helped-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [RFC PATCH v4 0/3] Optional sub hierarchy for remote tags

As discussed on the git email list [1] with the subject "Fetching tags overwrites existing tags" there is a bug where fetching tags can overwrite existing tags.

Ævar Arnfjörð Bjarmasono, has created a patch series [2] which requires a '--force' flag when fetching if the user actually wants to overwrite any existing flags.

This patch series allows tags in remotes to be placed in a sub hierarchy, refs/remote-tags when "git remote add" is passed the --remote-tags option.

The patch series also modifies tag so "git tag -l" will list tags in refs/remote-tags properly. It also test for "git remote add" which uses "git tag -l".

[1]: https://public-inbox.org/git/[email protected]/T/#m4928340a9f49c6ffa9db5b94243e46df6958eaa5
[2]: https://public-inbox.org/git/[email protected]/T/#mb68d54667a9ad8eee60a22ebdf2264f8022d07a8

Wink Saville (3):
Teach remote add the --remote-tags option
Teach tag to list remote-tags
Test git remote add -f --remote-tags

 Documentation/git-remote.txt |  8 +++++--
 builtin/remote.c             | 44 ++++++++++++++++++++++++++++++++----
 builtin/tag.c                |  2 +-
 ref-filter.c                 |  9 ++++++--
 ref-filter.h                 | 11 +++++----
 refs.c                       |  1 +
 remote.c                     |  2 ++
 t/t5505-remote.sh            | 20 ++++++++++++++++
 8 files changed, 83 insertions(+), 14 deletions(-)
Signature · 1 line
2.17.0.393.g4573f5e134