Misc fixes for git-pasky
Dear diary, on Fri, Apr 15, 2005 at 12:37:57AM CEST, I got a letter where Pavel Roskin <[email protected]> told me that...
Quoted 3 lines
Hi, Petr!
The attached patch against current git-pasky does following:
Hum. It does too much at once, that means I cannot apply it easily. :-(
Quoted 1 line
* README: spell checked
Good. :-)
Quoted 3 lines
*
cache.h: Includeunistd.h. Needed forclose()definition. While currentzlib.hheader includesunistd.h, it's not guaranteed to be so in other zlib versions.
Sounds good.
Quoted 3 lines
*
read-cache.c: Avoid C++ comments. C comments are more readable for C programmers. Besides, we don't want git to be so unportable that "gcc -pedantic" cannot compile it.
I don't really care about this too much, although I personally prefer the old-style comments. // comments are C99 so -pedantic by itself should have no right to complain about it.
Quoted 1 line
*
show-diff.c: Fix handling of more than one option of the command line.
What exactly does it fix? The current code seems fine to my sleepy brain.
Quoted 1 line
Add new option "-c" to omit checksums for modified files. Expand help.
How is the -c option useful?
Could you please send your patch with the correct inline settings on the attachment (or just in the mail body) and signed off?
Thanks,
Signature · 3 lines
Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor