[PATCH 0/3] git remote with superfluous arguments
- From
Thomas Rast <trast@inf.ethz.ch>
- Date
- Apr 24, 2013, 13:54 UTC
- Message-ID
- <cover.1366811347.git.trast@inf.ethz.ch>
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(-)
-- 1.8.2.1.931.g0116868