]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'bc/rev-parse-parseopt-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:47 +0000 (15:42 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2017 06:42:47 +0000 (15:42 +0900)
Recent versions of "git rev-parse --parseopt" did not parse the
option specification that does not have the optional flags (*=?!)
correctly, which has been corrected.

* bc/rev-parse-parseopt-fix:
  parse-options: only insert newline in help text if needed
  parse-options: write blank line to correct output stream
  t0040,t1502: Demonstrate parse_options bugs
  git-rebase: don't ignore unexpected command line arguments
  rev-parse parseopt: interpret any whitespace as start of help text
  rev-parse parseopt: do not search help text for flag chars
  t1502: demonstrate rev-parse --parseopt option mis-parsing

1  2 
builtin/rev-parse.c
git-rebase.sh

Simple merge
diff --cc git-rebase.sh
Simple merge