Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'eb/mail'
author
Junio C Hamano
<junkio@cox.net>
Mon, 19 Jun 2006 03:18:21 +0000
(20:18 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 19 Jun 2006 03:18:21 +0000
(20:18 -0700)
* eb/mail:
Fix git-format-patch -s
builtin-log.c
patch
|
blob
|
history
raw
(from parent 1:
b47f509
)
diff --git
a/builtin-log.c
b/builtin-log.c
index 6afa66ce02bee9a0de4403e1bfb0eedb70c087df..9187fd337ba767384abab26224b95610aa531807 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-220,8
+220,11
@@
int cmd_format_patch(int argc, const char **argv, char **envp)
}
else if (!strcmp(argv[i], "--signoff") ||
!strcmp(argv[i], "-s")) {
- const char *committer = git_committer_info(1);
- const char *endpos = strchr(committer, '>');
+ const char *committer;
+ const char *endpos;
+ setup_ident();
+ committer = git_committer_info(1);
+ endpos = strchr(committer, '>');
if (!endpos)
die("bogos committer info %s\n", committer);
add_signoff = xmalloc(endpos - committer + 2);