aboutsummaryrefslogtreecommitdiffstats
path: root/ident.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-09Merge branch 'bc/ident-dot-is-no-longer-crud-letter'Junio C Hamano1-1/+0
2023-08-02ident: don't consider '.' a crudbrian m. carlson1-1/+0
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-1/+3
2023-02-23ident.h: move ident-related declarations out of cache.hElijah Newren1-1/+4
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-1/+1
2022-08-19config: mark unused callback parametersJeff King1-1/+1
2022-07-18ident: rename commit_rewrite_person() to apply_mailmap_to_header()Siddharth Asthana1-2/+2
2022-07-18ident: move commit_rewrite_person() to ident.cSiddharth Asthana1-0/+74
2022-02-16date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason1-0/+1
2020-09-03Merge branch 'pw/rebase-i-more-options'Junio C Hamano1-10/+14
2020-08-21ident: say whose identity is missing when giving user.name hintJunio C Hamano1-17/+31
2020-08-17am: stop exporting GIT_COMMITTER_DATEPhillip Wood1-10/+14
2019-04-22Merge branch 'ps/stash-in-c'Junio C Hamano1-0/+20
2019-03-07ident: don't require calling prepare_fallback_ident firstThomas Gummerer1-3/+1
2019-03-01ident: add the ability to provide a "fallback identity"Johannes Schindelin1-0/+22
2019-02-04config: allow giving separate author and committer identsWilliam Hubbs1-6/+86
2018-10-16mingw: use domain information for default emailJohannes Schindelin1-0/+3
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-26wrapper.c: add and use fopen_or_warn()Nguyễn Thái Ngọc Duy1-5/+3
2017-04-23Merge branch 'dt/xgethostname-nul-termination'Junio C Hamano1-2/+2
2017-04-18xgethostname: handle long hostnamesDavid Turner1-1/+1
2017-04-18use HOST_NAME_MAX to size buffers for gethostname(2)René Scharfe1-1/+1
2017-02-23ident: do not ignore empty config name/emailJeff King1-2/+2
2017-02-23ident: reject all-crud ident nameJeff King1-0/+11
2017-02-23ident: handle NULL email when complaining of empty nameJeff King1-13/+13
2017-02-23ident: mark error messages for translationJeff King1-6/+6
2016-10-03Merge branch 'jk/ident-ai-canonname-could-be-null' into maintJunio C Hamano1-1/+1
2016-09-29Merge branch 'jk/ident-ai-canonname-could-be-null'Junio C Hamano1-1/+1
2016-09-23ident: handle NULL ai_canonnameJeff King1-1/+1
2016-09-21i18n: ident: mark hint for translationVasco Almeida1-16/+16
2016-08-12Merge branch 'jk/reset-ident-time-per-commit' into maintJunio C Hamano1-0/+5
2016-08-10Merge branch 'jk/reset-ident-time-per-commit'Junio C Hamano1-0/+5
2016-08-01am: reset cached ident date for each patchJeff King1-0/+5
2016-05-18Merge branch 'da/user-useconfigonly' into HEADJunio C Hamano1-6/+10
2016-05-17Merge branch 'nd/error-errno'Junio C Hamano1-5/+3
2016-05-09ident.c: use warning_errno()Nguyễn Thái Ngọc Duy1-5/+3
2016-04-29Merge branch 'da/user-useconfigonly'Junio C Hamano1-6/+10
2016-04-01ident: give "please tell me" message upon useConfigOnly errorMarios Titas1-4/+8
2016-04-01ident: check for useConfigOnly before auto-detection of name/emailMarios Titas1-6/+6
2016-02-17Merge branch 'da/user-useconfigonly'Junio C Hamano1-22/+40
2016-02-08ident: add user.useConfigOnly boolean for when ident shouldn't be guessedDan Aloni1-0/+16
2016-02-04fmt_ident: refactor strictness checksJeff King1-22/+24
2016-01-15ident.c: read /etc/mailname with strbuf_getline()Junio C Hamano1-1/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-1/+1
2015-12-21Merge branch 'jk/ident-loosen-getpwuid'Junio C Hamano1-9/+40
2015-12-14ident: fix undefined variable when NO_IPV6 is setJeff King1-1/+1
2015-12-14ident: loosen getpwuid error in non-strict modeJeff King1-8/+22
2015-12-10ident: keep a flag for bogus default_emailJeff King1-7/+12
2015-12-10ident: make xgetpwuid_self() a static local helperJeff King1-0/+12
2015-11-28ident.c: add support for IPv6Elia Pinto1-4/+27
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-15/+11
2014-08-27date: use strbufs in date-formatting functionsJeff King1-15/+11
2014-07-25config --global --edit: create a template file if neededMatthieu Moy1-1/+1
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