<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/builtin/commit.c, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2012-10-01T19:58:52Z</updated>
<entry>
<title>Merge branch 'os/commit-submodule-ignore'</title>
<updated>2012-10-01T19:58:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-10-01T19:58:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=69759917aa4b1efb5bf198e76c3664bed9c70d4d'/>
<id>urn:sha1:69759917aa4b1efb5bf198e76c3664bed9c70d4d</id>
<content type='text'>
"git status" honored the ignore=dirty settings in .gitmodules but
"git commit" didn't.

* os/commit-submodule-ignore:
  commit: pay attention to submodule.$name.ignore in .gitmodules
</content>
</entry>
<entry>
<title>commit: pay attention to submodule.$name.ignore in .gitmodules</title>
<updated>2012-09-24T16:28:36Z</updated>
<author>
<name>Orgad Shaneh</name>
<email>orgads@gmail.com</email>
</author>
<published>2012-09-23T07:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8f6811efed5451c72aac53f8ee12b1edcd426a73'/>
<id>urn:sha1:8f6811efed5451c72aac53f8ee12b1edcd426a73</id>
<content type='text'>
"git status" does not list a submodule with uncommitted working tree
files as modified when "submodule.$name.ignore" is set to "dirty" in
in-tree ".gitmodules" file.  Both status and commit honor the setting
in $GIT_DIR/config, but "commit" does not pick it up from .gitmodules,
which is inconsistent.

Teach "git commit" to pay attention to the setting in .gitmodules as
well.

Signed-off-by: Orgad Shaneh &lt;orgads@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cherry-pick: don't forget -s on failure</title>
<updated>2012-09-14T17:04:29Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@suse.cz</email>
</author>
<published>2012-09-14T06:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5ed75e2a3fb30f93fea7772e481ec6091e9a2c5f'/>
<id>urn:sha1:5ed75e2a3fb30f93fea7772e481ec6091e9a2c5f</id>
<content type='text'>
In case 'git cherry-pick -s &lt;commit&gt;' failed, the user had to use 'git
commit -s' (i.e. state the -s option again), which is easy to forget
about.  Instead, write the signed-off-by line early, so plain 'git
commit' will have the same result.

Also update 'git commit -s', so that in case there is already a relevant
Signed-off-by line before the Conflicts: line, it won't add one more at
the end of the message. If there is no such line, then add it before the
the Conflicts: line.

Signed-off-by: Miklos Vajna &lt;vmiklos@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/maint-ident-missing-human-name'</title>
<updated>2012-09-11T18:35:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-11T18:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=13670c5f9c21db55c2d8ab8db9d1da2b5c236ae0'/>
<id>urn:sha1:13670c5f9c21db55c2d8ab8db9d1da2b5c236ae0</id>
<content type='text'>
"git show --format='%ci'" did not give timestamp correctly for
commits created without human readable name on "committer" line.

* jc/maint-ident-missing-human-name:
  split_ident_line(): make best effort when parsing author/committer line
</content>
</entry>
<entry>
<title>split_ident_line(): make best effort when parsing author/committer line</title>
<updated>2012-08-31T21:54:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-08-31T21:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e27ddb64568412b75035a05366c9f091153155ed'/>
<id>urn:sha1:e27ddb64568412b75035a05366c9f091153155ed</id>
<content type='text'>
Commits made by ancient version of Git allowed committer without
human readable name, like this (00213b17c in the kernel history):

    tree 6947dba41f8b0e7fe7bccd41a4840d6de6a27079
    parent 352dd1df32e672be4cff71132eb9c06a257872fe
    author Petr Baudis &lt;pasky@ucw.cz&gt; 1135223044 +0100
    committer  &lt;sam@mars.ravnborg.org&gt; 1136151043 +0100

    kconfig: Remove support for lxdialog --checklist

    ...

    Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
    Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;

When fed such a commit, --format='%ci' fails to parse it, and gives
back an empty string.  Update the split_ident_line() to be a bit
more lenient when parsing, but make sure the caller that wants to
pick up sane value from its return value does its own validation.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/maint-commit-check-committer-early' into maint-1.7.11</title>
<updated>2012-08-24T19:05:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-08-24T19:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9e0833c30e1afef7dcffe2c151d0545ecdc730bf'/>
<id>urn:sha1:9e0833c30e1afef7dcffe2c151d0545ecdc730bf</id>
<content type='text'>
* jk/maint-commit-check-committer-early:
  commit: check committer identity more strictly
</content>
</entry>
<entry>
<title>i18n: status: mark parseopt strings for translation</title>
<updated>2012-08-20T19:23:19Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-08-20T12:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f22763161ab29cc0b66807d3d77141c7e442e1da'/>
<id>urn:sha1:f22763161ab29cc0b66807d3d77141c7e442e1da</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: commit: mark parseopt strings for translation</title>
<updated>2012-08-20T19:23:16Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2012-08-20T12:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=9c23f4c537fc81b03549a5e9b7a4c0332802ff8f'/>
<id>urn:sha1:9c23f4c537fc81b03549a5e9b7a4c0332802ff8f</id>
<content type='text'>
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/maint-commit-check-committer-early'</title>
<updated>2012-07-24T21:05:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-24T21:05:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=18502e36061bb91131628032b5c46ea4fc8f18a3'/>
<id>urn:sha1:18502e36061bb91131628032b5c46ea4fc8f18a3</id>
<content type='text'>
"git commit --amend" let the user edit the log message and then died
when the human-readable committer name was given insufficiently by
getpwent(3).

* jk/maint-commit-check-committer-early:
  commit: check committer identity more strictly
</content>
</entry>
<entry>
<title>commit: check committer identity more strictly</title>
<updated>2012-07-23T20:27:21Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-07-23T18:50:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=f20f3878ac95e254ec6fd22b63cfb6eda67e5ded'/>
<id>urn:sha1:f20f3878ac95e254ec6fd22b63cfb6eda67e5ded</id>
<content type='text'>
The identity of the committer will ultimately be pulled from
the ident code by commit_tree(). However, we make an attempt
to check the author and committer identity early, before the
user has done any manual work like inputting a commit
message. That lets us abort without them having to worry
about salvaging the work from .git/COMMIT_EDITMSG.

The early check for committer ident does not use the
IDENT_STRICT flag, meaning that it would not find an empty
name field. The motivation was presumably because we did not
want to be too restrictive, as later calls might be more lax
(for example, when we create the reflog entry, we do not
care too much about a real name). However, because
commit_tree will always get a strict identity to put in the
commit object itself, there is no point in being lax only to
die later (and in fact it is harmful, because the user will
have wasted time typing their commit message).

Incidentally, this bug was masked prior to 060d4bb, as the
initial loose call would taint the later strict call. So the
commit would succeed (albeit with a bogus committer line in
the commit object), and nobody noticed that our early check
did not match the later one.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
