Skip to content

Add --tags/--no-tags options to "git add remote"

Samuel Tardieu git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Honor "tagopt = --tags" configuration optionDocumentation/config.txt contrib/examples/git-fetch.sh remote.c+8 -20 replies
2/2remote add: add a --no-tags (-n) optionDocumentation/git-remote.txt builtin/remote.c t/t5505-remote.sh+90 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [v3 PATCH 0/2] Add --tags/--no-tags options to "git add remote"

The following series adds the "--[no-]tags" option to "git add remote". Since "-t" was already taken for "--track", I only let the long "--tags" and "--no-tags" options.

In order to implement the "--tags" behaviour, I first had to add correct handling of "tagopt = --tags" in remote configuration options.

---

Samuel Tardieu (2):
Honor "tagopt = --tags" configuration option remote add: add a --no-tags (-n) option

 Documentation/git-remote.txt |    8 +++++
 builtin/remote.c             |   21 +++++++++++++-
 remote.c                     |    2 +
 t/t5505-remote.sh            |   63 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 92 insertions(+), 2 deletions(-)