Skip to content
Commit 0578ebf6 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

init: reject unknown args



If you pass args to `repo init` when first creating a checkout, the
repo launcher throws an error.  But the init subcommand that runs in
an existing checkout silently ignores them.  Throw a proper error.

Change-Id: I433bfcc73902d25f6b6a2974e77f6a977a75ed16
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/279696
Reviewed-by: default avatarJonathan Nieder <jrn@google.com>
Tested-by: default avatarMike Frysinger <vapier@google.com>
parent 65f51ad2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment