Skip to content

git remote with superfluous arguments

Thomas Rast git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3remote: add a test for extra arguments, according to docst/t5505-remote.sh+27 -03 replies
2/3remote: check for superfluous arguments in 'git remote add'builtin/remote.c t/t5505-remote.sh+2 -20 replies
3/3remote: 'show' and 'prune' take more than one remoteDocumentation/git-remote.txt t/t5505-remote.sh+5 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] git remote with superfluous arguments

Today I botched a cut&paste and ran

git remote add git remote add origin <url>

only to notice, several commands later, that while it had succeeded, it had in fact added a remote called 'git' with an url of 'remote'. Some investigation yielded these fixes.

Thomas Rast (3):
remote: add a test for extra arguments, according to docs
remote: check for superfluous arguments in 'git remote add'
remote: 'show' and 'prune' take more than one remote

 Documentation/git-remote.txt |  4 ++--
 builtin/remote.c             |  2 +-
 t/t5505-remote.sh            | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.2.1.931.g0116868