]> git.neil.brown.name Git - wiggle.git/commit
Improve parsing of diff -u output.
authorNeil Brown <neilb@suse.de>
Thu, 5 Mar 2009 05:59:14 +0000 (16:59 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 5 Mar 2009 05:59:14 +0000 (16:59 +1100)
commit1967b8e3b3da0b9bae39e03b4309b487edcb6310
treec791552e583bec8533a5c6e09ad400c46197ee6f
parentdb5bf0a820a0e800489d37bb6d57acbdf4597ecd
Improve parsing of diff -u output.

Normally chunks start
  @@ -%d,%d +%d%d @@
but if a section is just one line long, the ',1' is dropped, so
  @@ -%d +%d @@

is possible.
extract.c