diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-17 21:59:36 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-17 21:59:36 (GMT) |
commit | 1a893064d7b403625896a2c8bdab39f0f7db61d5 (patch) | |
tree | 40dd24536b59a9540826f303207e2488d91fe0f2 /ident.c | |
parent | fc6f19fe2b49928dcb4d2dfac88ca38a47d64cde (diff) | |
download | git-1a893064d7b403625896a2c8bdab39f0f7db61d5.zip git-1a893064d7b403625896a2c8bdab39f0f7db61d5.tar.gz git-1a893064d7b403625896a2c8bdab39f0f7db61d5.tar.bz2 |
user_ident_sufficiently_given(): refactor the logic to be usable from elsewhere
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
-rw-r--r-- | ident.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -259,3 +259,8 @@ const char *git_committer_info(int flag) getenv("GIT_COMMITTER_DATE"), flag); } + +int user_ident_sufficiently_given(void) +{ + return user_ident_explicitly_given; +} |