diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-17 13:54:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-17 13:54:28 -0800 |
commit | 5aeb3a3a838b2cb03d250f3376cf9c41f4d4608e (patch) | |
tree | 5735c4ddaa5de31eb7cf3970fd1b23e8b74ec349 /builtin-commit.c | |
parent | 99178c831e72ba80b9edd5455b03070758c55526 (diff) | |
download | git-5aeb3a3a838b2cb03d250f3376cf9c41f4d4608e.tar.gz git-5aeb3a3a838b2cb03d250f3376cf9c41f4d4608e.tar.xz |
user_ident_sufficiently_given(): refactor the logic to be usable from elsewhere
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-commit.c')
-rw-r--r-- | builtin-commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index f4974b554..b76f327e1 100644 --- 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 != IDENT_ALL_GIVEN) + if (!user_ident_sufficiently_given()) fprintf(fp, "%s" "# Committer: %s\n", |