Stop args from containing a single empty string
Review Request #5263 — Created Jan. 15, 2014 and discarded
Stop args from containing a single empty string Sometimes (I haven't tracked down quite where) OptionParser will return args as ['']. This can get interpreted as a revision range by the clients (in particular git), which can confuse matters - the git client tries to run `git rev-parse `, which fails, for instance. Therefore remove emptystring from the args return from OptionParser. Untested on any clients except git.
Description | From | Last Updated |
---|---|---|
This will only remove a single instance. If we decide that this is really something that should be done, instead … |
david |