Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ident.c: check explicit identity for name and email separately
[gitweb.git]
/
builtin-commit.c
diff --git
a/builtin-commit.c
b/builtin-commit.c
index 073fe90ba1e04c3845fe49521db39b28339acb43..f4974b5542e9adcc1b2dd24f9692a20a690d5977 100644
(file)
--- a/
builtin-commit.c
+++ b/
builtin-commit.c
@@
-624,7
+624,7
@@
static int prepare_to_commit(const char *index_file, const char *prefix,
author_ident);
free(author_ident);
- if (
!user_ident_explicitly_given
)
+ if (
user_ident_explicitly_given != IDENT_ALL_GIVEN
)
fprintf(fp,
"%s"
"# Committer: %s\n",