rev-parse: remove restrictions on some options
authorJohn Keeping <john@keeping.me.uk>
Sun, 21 Jul 2013 12:49:26 +0000 (13:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 17:43:20 +0000 (10:43 -0700)
The "--local-env-vars" and "--resolve-git-dir" arguments to
git-rev-parse are currently only handled if they appear first on the
command line (in the case of "--local-env-vars", only if it is the only
argument). While it may not make sense to use these options when any
others are specified, there is no reason for this restriction and it
might confuse users if these arguments appear to be ignored.

There is no need for any documentation change here as the restrictions
on these options are not documented.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found