<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/ident.c, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2008-12-02T23:29:13Z</updated>
<entry>
<title>Add backslash to list of 'crud' characters in real name</title>
<updated>2008-12-02T23:29:13Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-12-01T16:41:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d404bf0288ac1a2c4276d009c0e1c88519e5a7c9'/>
<id>urn:sha1:d404bf0288ac1a2c4276d009c0e1c88519e5a7c9</id>
<content type='text'>
We remove crud characters at the beginning and end of real-names so that
when we see email addresses like

	From: "David S. Miller" &lt;davem@davemloft.net&gt;

we drop the quotes around the name when we parse that and split it up into
name and email.

However, the list of crud characters was basically just a random list of
common things that are found around names, and it didn't contain the
backslash character that some insane scripts seem to use when quoting
things. So now the kernel has a number of authors listed like

	Author: \"Rafael J. Wysocki\ &lt;rjw@sisk.pl&gt;

because the author name had started out as

	From: \"Rafael J. Wysocki\" &lt;rjw@sisk.pl&gt;

and the only "crud" character we noticed and removed was the final
double-quote at the end.

We should probably do better quote removal from names anyway, but this is
the minimal obvious patch.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Replace uses of "git-var" with "git var"</title>
<updated>2008-07-30T18:42:01Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2008-07-30T17:48:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5354a56fe70420c147f930e0f7f1decbae685d19'/>
<id>urn:sha1:5354a56fe70420c147f930e0f7f1decbae685d19</id>
<content type='text'>
Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit: Show committer if automatic</title>
<updated>2008-05-06T23:50:17Z</updated>
<author>
<name>Santi Béjar</name>
<email>sbejar@gmail.com</email>
</author>
<published>2008-05-04T16:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb1ae3f6fff19b0a1ab1bb6a815d26d39b9f15e6'/>
<id>urn:sha1:bb1ae3f6fff19b0a1ab1bb6a815d26d39b9f15e6</id>
<content type='text'>
To warn the user in case he/she might be using an unintended
committer identity.

Signed-off-by: Santi Béjar &lt;sbejar@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>ident.c: reword error message when the user name cannot be determined</title>
<updated>2008-03-09T03:43:21Z</updated>
<author>
<name>Santi Béjar</name>
<email>sbejar@gmail.com</email>
</author>
<published>2008-03-08T11:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c293d408dbbd0206e80df3ecda7f1620cadaa94'/>
<id>urn:sha1:6c293d408dbbd0206e80df3ecda7f1620cadaa94</id>
<content type='text'>
The "config --global" suggested in the message is a valid one-shot fix,
and hopefully one-shot across machines that NFS mounts the home directories.

This knowledge can hopefully be reused when you are forced to use git on
Windows, but the fix based on GECOS would not be applicable, so
it is not such a useful hint to mention the exact reason why the
name cannot be determined.

Signed-off-by: Santi Béjar &lt;sbejar@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix grammar nits in documentation and in code comments.</title>
<updated>2008-01-03T17:15:17Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2008-01-03T14:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=790296fd8863d649054096191d33bacbbf5c2115'/>
<id>urn:sha1:790296fd8863d649054096191d33bacbbf5c2115</id>
<content type='text'>
Signed-off-by: Jim Meyering &lt;meyering@redhat.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Re-fix "builtin-commit: fix --signoff"</title>
<updated>2007-12-09T08:55:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-12-09T01:32:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=774751a8bc594a5b56039bbdc43c45e3882dd804'/>
<id>urn:sha1:774751a8bc594a5b56039bbdc43c45e3882dd804</id>
<content type='text'>
An earlier fix to the said commit was incomplete; it mixed up the
meaning of the flag parameter passed to the internal fmt_ident()
function, so this corrects it.

git_author_info() and git_committer_info() can be told to issue a
warning when no usable user information is found, and optionally can be
told to error out.  Operations that actually use the information to
record a new commit or a tag will still error out, but the caller to
leave reflog record will just silently use bogus user information.

Not warning on misconfigured user information while writing a reflog
entry is somewhat debatable, but it is probably nicer to the users to
silently let it pass, because the only information you are losing is who
checked out the branch.

 * git_author_info() and git_committer_info() used to take 1 (positive
   int) to error out with a warning on misconfiguration; this is now
   signalled with a symbolic constant IDENT_ERROR_ON_NO_NAME.

 * These functions used to take -1 (negative int) to warn but continue;
   this is now signalled with a symbolic constant IDENT_WARN_ON_NO_NAME.

 * fmt_ident() function implements the above error reporting behaviour
   common to git_author_info() and git_committer_info().  A symbolic
   constant IDENT_NO_DATE can be or'ed in to the flag parameter to make
   it return only the "Name &lt;email@address.xz&gt;".

 * fmt_name() is a thin wrapper around fmt_ident() that always passes
   IDENT_ERROR_ON_NO_NAME and IDENT_NO_DATE.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-12-07T07:20:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-12-07T07:20:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08e1812db1585c450bfe7f41e7106222346c88da'/>
<id>urn:sha1:08e1812db1585c450bfe7f41e7106222346c88da</id>
<content type='text'>
* maint:
  Change from using email.com to example.com as example domain, as per RFC 2606.
</content>
</entry>
<entry>
<title>Change from using email.com to example.com as example domain, as per RFC 2606.</title>
<updated>2007-12-07T07:20:11Z</updated>
<author>
<name>David Symonds</name>
<email>dsymonds@gmail.com</email>
</author>
<published>2007-12-06T23:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8e7425da782cbdff4531d84e0ef4ec7bd3ae23d7'/>
<id>urn:sha1:8e7425da782cbdff4531d84e0ef4ec7bd3ae23d7</id>
<content type='text'>
Signed-off-by: David Symonds &lt;dsymonds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kh/commit'</title>
<updated>2007-12-05T01:16:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-12-05T01:16:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31cbb5d96151891491168d3f813e6898c9ef825b'/>
<id>urn:sha1:31cbb5d96151891491168d3f813e6898c9ef825b</id>
<content type='text'>
* kh/commit: (33 commits)
  git-commit --allow-empty
  git-commit: Allow to amend a merge commit that does not change the tree
  quote_path: fix collapsing of relative paths
  Make git status usage say git status instead of git commit
  Fix --signoff in builtin-commit differently.
  git-commit: clean up die messages
  Do not generate full commit log message if it is not going to be used
  Remove git-status from list of scripts as it is builtin
  Fix off-by-one error when truncating the diff out of the commit message.
  builtin-commit.c: export GIT_INDEX_FILE for launch_editor as well.
  Add a few more tests for git-commit
  builtin-commit: Include the diff in the commit message when verbose.
  builtin-commit: fix partial-commit support
  Fix add_files_to_cache() to take pathspec, not user specified list of files
  Export three helper functions from ls-files
  builtin-commit: run commit-msg hook with correct message file
  builtin-commit: do not color status output shown in the message template
  file_exists(): dangling symlinks do exist
  Replace "runstatus" with "status" in the tests
  t7501-commit: Add test for git commit &lt;file&gt; with dirty index.
  ...
</content>
</entry>
<entry>
<title>Simplify crud() in ident.c</title>
<updated>2007-12-04T23:50:18Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2007-12-03T19:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f64c81d4282b1dacf2cf095bfb0f7708b99b3ecf'/>
<id>urn:sha1:f64c81d4282b1dacf2cf095bfb0f7708b99b3ecf</id>
<content type='text'>
Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
