diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-05-05 01:16:40 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-05 13:55:45 -0700 |
commit | 0377db77da3f66b8a2bd2f8a9391d22f7a576e34 (patch) | |
tree | 383e58575be571f39ba8d15fc9f7acc1fa9d9630 /templates | |
parent | Use RFC2822 dates from "git fmt-patch". (diff) | |
download | tgif-0377db77da3f66b8a2bd2f8a9391d22f7a576e34.tar.xz |
Teach fmt-patch to write individual files.
When called with "--stdout", it still writes to standard output.
Notable differences to git-format-patch:
- since fmt-patch uses the standardized logging machinery, it is
no longer "From nobody", but "From <commit_sha1>",
- the empty lines before and after the "---" just before the
diffstat are no longer there,
- git-format-patch outputs the commit_sha1 just before the first
diff, which fmt-patch does not,
- the file names are no longer output to stdout, but to stderr
(since stdout is freopen()ed all the time), and
- "git fmt-patch HEAD^" does not work as expected: it outputs
*all* commits reachable from HEAD^!
The last one is possibly a showstopper. At least I used to call that
command quite often...
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions