Hi,
Eric Gerlach wrote:
Adam D. Barratt wrote:
[...]
I've got a local copy of debcommit with a slightly revised patch
(using exit status rather than attempting to parse the output) that
works great for commits and "debcommit --diff $file" but haven't
found a method that works properly for "debcommit --diff" yet.
I believe you're misinterpreting the purpose of my patch. It doesn't
fix the '--diff' case (which, now that I've looked at the code, is
broken too... I just never tried it).
This patch fixes the getmessage() function in the case of an empty git
repo. Since it only operates on one file (debian/changelog), using
"diff -u /dev/null" works fine.
I don't think I'm misinterpreting it and I'm more than happy with how your
patch works - I just want a version that does more ;-)
As a frequent user of --diff, it was one of the first things I tried whilst
testing your patch and I'd like to get that working before committing the
changes.
Adam
--
To unsubscribe, send mail to [EMAIL PROTECTED]