aboutsummaryrefslogtreecommitdiffstats
path: root/ident.c
AgeCommit message (Expand)AuthorFilesLines
2013-10-28Merge branch 'jk/split-broken-ident'Junio C Hamano1-1/+15
2013-10-15split_ident: parse timestamp from end of lineJeff King1-1/+15
2013-09-20format-patch: print in-body "From" only when neededJeff King1-0/+29
2013-02-01Merge branch 'jn/do-not-drop-username-when-reading-from-etc-mailname'Junio C Hamano1-1/+5
2013-01-25ident: do not drop username when reading from /etc/mailnameJonathan Nieder1-1/+5
2012-11-15ident: keep separate "explicit" flags for author and committerJeff King1-7/+25
2012-11-15ident: make user_ident_explicitly_given staticJeff King1-1/+5
2012-09-15ident.c: mark private file-scope symbols as staticJunio C Hamano1-2/+2
2012-08-31split_ident_line(): make best effort when parsing author/committer lineJunio C Hamano1-2/+4
2012-05-29Merge branch 'jk/ident-gecos-strbuf'Junio C Hamano1-127/+116
2012-05-24ident: reject bogus email addresses with IDENT_STRICTJeff King1-0/+6
2012-05-24ident: rename IDENT_ERROR_ON_NO_NAME to IDENT_STRICTJeff King1-3/+3
2012-05-24ident: let callers omit name with fmt_indentJeff King1-5/+9
2012-05-24ident: refactor NO_DATE flag in fmt_identJeff King1-6/+9
2012-05-24ident: reword empty ident error messageJeff King1-1/+1
2012-05-22fix off-by-one error in split_ident_lineJeff King1-1/+1
2012-05-22ident: trim whitespace from default name/emailJeff King1-1/+4
2012-05-22ident: use a dynamic strbuf in fmt_identJeff King1-28/+15
2012-05-22ident: use full dns names to generate email addressesJeff King1-9/+4
2012-05-22ident: report passwd errors with a more friendly messageJeff King1-15/+5
2012-05-22drop length limitations on gecos-derived names and emailsJeff King1-65/+39
2012-05-22ident: don't write fallback username into git_default_nameJeff King1-3/+1
2012-05-22fmt_ident: drop IDENT_WARN_ON_NO_NAME codeJeff King1-7/+4
2012-05-22ident: trim trailing newline from /etc/mailnameJeff King1-0/+4
2012-05-22move git_default_* variables to ident.cJeff King1-0/+4
2012-05-22move identity config parsing to ident.cJeff King1-0/+21
2012-05-22ident: split setup_ident into separate functionsJeff King1-16/+19
2012-03-11ident.c: add split_ident_line() to parse formatted ident lineJunio C Hamano1-0/+68
2011-10-06ident: do not retrieve default ident when unnecessaryJonathan Nieder1-8/+8
2011-10-03ident: check /etc/mailname if email is unknownJonathan Nieder1-14/+54
2011-05-26Merge branch 'rg/no-gecos-in-pwent'Junio C Hamano1-1/+7
2011-05-19Merge branch 'rg/copy-gecos-username'Junio C Hamano1-0/+1
2011-05-19ident: add NO_GECOS_IN_PWENT for systems without pw_gecos in struct passwdRafael Gieschke1-1/+7
2011-05-17copy_gecos: fix not adding nlen to len when processing "&"Rafael Gieschke1-0/+1
2010-12-20ident: die on bogus date formatJeff King1-2/+4
2010-01-19ident.c: replace fprintf with fputs to suppress compiler warningTarmigan Casebolt1-1/+1
2010-01-17user_ident_sufficiently_given(): refactor the logic to be usable from elsewhereJunio C Hamano1-0/+9
2010-01-10ident.c: treat $EMAIL as giving user.email identity explicitlyJunio C Hamano1-2/+3
2010-01-10ident.c: check explicit identity for name and email separatelyJunio C Hamano1-3/+4
2010-01-08ident.c: remove unused variablesJunio C Hamano1-3/+1
2009-11-13Suppress warnings from "git var -l"Jonathan Nieder1-1/+1
2008-12-02Add backslash to list of 'crud' characters in real nameLinus Torvalds1-0/+1
2008-07-30Replace uses of "git-var" with "git var"Todd Zullinger1-1/+1
2008-05-06commit: Show committer if automaticSanti Béjar1-0/+3
2008-03-08ident.c: reword error message when the user name cannot be determinedSanti Béjar1-1/+1
2008-01-03Fix grammar nits in documentation and in code comments.Jim Meyering1-1/+1
2007-12-09Re-fix "builtin-commit: fix --signoff"Junio C Hamano1-18/+12
2007-12-06Merge branch 'maint'Junio C Hamano1-1/+1
2007-12-06Change from using email.com to example.com as example domain, as per RFC 2606.David Symonds1-1/+1
2007-12-04Merge branch 'kh/commit'Junio C Hamano1-5/+23
2007-12-04Simplify crud() in ident.cAlex Riesen1-19/+9
2007-12-02Fix --signoff in builtin-commit differently.Junio C Hamano1-10/+24
2007-11-22builtin-commit: fix --signoffJohannes Schindelin1-3/+7
2007-08-13Improved hint on how to set identitySteffen Prohaska1-4/+4
2007-07-05Prefer EMAIL to username@hostname.Matt Kraai1-7/+12
2007-06-06$EMAIL is a last resort fallback, as it's system-wide.Pierre Habouzit1-2/+2
2007-04-29Fall back to $EMAIL for missing GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAILJosh Triplett1-0/+2
2007-04-15ident.c: Use size_t (instead of int) to store sizesLuiz Fernando N. Capitulino1-7/+7
2007-04-15ident.c: Use const qualifier for 'struct passwd' parametersLuiz Fernando N. Capitulino1-2/+2
2007-02-04Rename get_ident() to fmt_ident() and make it available to outsideJunio C Hamano1-4/+4
2007-01-28[PATCH] Rename git-repo-config to git-config.Tom Prince1-2/+2
2007-01-28Don't force everybody to call setup_ident().Junio C Hamano1-16/+35
2007-01-25Allow non-developer to clone, checkout and fetch more easily.Junio C Hamano1-17/+11
2006-12-20simplify inclusion of system header files.Junio C Hamano1-3/+0
2006-12-17Default GIT_COMMITTER_NAME to login name in recieve-pack.Shawn O. Pearce1-0/+15
2006-11-28ident.c: Trim hint printed when gecos is empty.Han-Wen Nienhuys1-5/+10
2006-06-24Rename safe_strncpy() to strlcpy().Peter Eriksen1-2/+2
2006-06-16Implement safe_strncpy() as strlcpy() and use it more.Peter Eriksen1-3/+2
2006-02-18Delay "empty ident" errors until they really matter.Junio C Hamano1-22/+25
2006-02-18Make "empty ident" error message a bit more helpful.Junio C Hamano1-0/+14
2006-02-08Do not allow empty name or email.Junio C Hamano1-0/+5
2005-12-29code comments: spellJunio C Hamano1-1/+1
2005-11-21git-var: constness and globalness cleanup.Junio C Hamano1-5/+10
2005-10-20Use sensible domain name (the DNS one) when guessing ident informationPetr Baudis1-1/+9
2005-10-18Remove unused include.Junio C Hamano1-1/+0
2005-10-14Unlocalized isspace and friendsLinus Torvalds1-1/+0
2005-10-11Use git config file for committer name and email infoLinus Torvalds1-16/+14
2005-09-20Use GECOS field a bit better to produce default human readable name.Junio C Hamano1-4/+35
2005-09-17[PATCH] getdomainname should be usable on SunOS with -lnslJunio C Hamano1-2/+0
2005-09-09Retire support for old environment variables.Junio C Hamano1-2/+2
2005-09-07[PATCH] Portability fix for Solaris 10/x86Patrick Mauritz1-1/+2
2005-08-23Replace C99 array initializers with code.Jason Riedy1-8/+18
2005-07-15[PATCH] ident.c: Disambiguate the error messages in setup_identEric W. Biederman1-2/+2
2005-07-15[PATCH] Move git_author_info and git_commiter_info to ident.cEric W. Biederman1-0/+10
2005-07-12Abstract out the "name <email> date" handling of commit-tree.cLinus Torvalds1-0/+138