<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pub/scm/git/git.git/git-commit-script, branch v0.99.5</title>
<subtitle>Git source code mirror</subtitle>
<id>http://kernel.varnish.org/pub/scm/git/git.git/atom/git-commit-script?h=v0.99.5</id>
<link rel='self' href='http://kernel.varnish.org/pub/scm/git/git.git/atom/git-commit-script?h=v0.99.5'/>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/'/>
<updated>2005-08-19T23:23:31Z</updated>
<entry>
<title>Add commit hook and make the verification customizable.</title>
<updated>2005-08-19T23:23:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-19T00:20:08Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=89e2c5f17b901edf28a8bb778ece3f6c18bbb721'/>
<id>urn:sha1:89e2c5f17b901edf28a8bb778ece3f6c18bbb721</id>
<content type='text'>
There are three hooks:

    - 'pre-commit' is given an opportunity to inspect what is
      being committed, before we invoke the EDITOR for the
      commit message;

    - 'commit-msg' is invoked on the commit log message after
      the user prepares it;

    - 'post-commit' is run after a successful commit is made.

The first two can interfere to stop the commit.  The last one is
for after-the-fact notification.

The earlier built-in commit checker is now moved to pre-commit.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Allow file removal when "git commit --all" is used.</title>
<updated>2005-08-19T23:19:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-18T07:59:37Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=e20ce6ac762589868e46603ee1223f2f852c4403'/>
<id>urn:sha1:e20ce6ac762589868e46603ee1223f2f852c4403</id>
<content type='text'>
After you deleted files from your working tree, automatic
git-update-cache used when the "--all" flag is given to "git
commit" barfs because it lacks the --remove flag.

It can be argued that this is a feature; people should be
careful and something with a grave consequence like removing
files should be done manually, in which case the current
behaviour may be OK.

The patch is for people who thinks the user who uses the "--all"
flag deserves the danger that comes with the convenience.

Comments?

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix git-commit without paths.</title>
<updated>2005-08-17T22:17:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-17T22:17:03Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=6a0049c07623a387bf7f7e7c90b71344c23decfa'/>
<id>urn:sha1:6a0049c07623a387bf7f7e7c90b71344c23decfa</id>
<content type='text'>
The earlier one to grab output from diff-files --name-only has a grave
bug that when no paths are given it ended up doing the equivalent of
"git-commit --all", which was not what I intended.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: pass explicit path to git-diff-files.</title>
<updated>2005-08-17T19:11:36Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-17T01:08:19Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=22cff6a5abef29ce74da3e57ba3488d77686fec8'/>
<id>urn:sha1:22cff6a5abef29ce74da3e57ba3488d77686fec8</id>
<content type='text'>
When running "git commit" with explicit path arguments, allow it to
take directory name.  This makes "git commit Documentation/" to commit
everything that is changed under Documentation/ directory.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Tentative fix to git-commit-script</title>
<updated>2005-08-15T23:32:58Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-15T22:37:37Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=2150cc99fe29fd81db1e9c5971e13bcb78373ebf'/>
<id>urn:sha1:2150cc99fe29fd81db1e9c5971e13bcb78373ebf</id>
<content type='text'>
The recent change to give the multiple commit message source was not
carrying over the authorship information from -C/-c commits correctly.
The export of the environment variable happens only in the subprocess,
not the main process that eventually runs git-commit-tree.

The right fix might be to teach git-commit-script to grok the From:
and Date: lines at the beginning of the commit message just like
git-applymbox knows how, but this has to do until that enhancement
happens.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add --signoff and --verify option to git commit.</title>
<updated>2005-08-14T01:28:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-13T06:39:15Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=0cfe1d303ab1cab13315c1d42df26ab93bf09b86'/>
<id>urn:sha1:0cfe1d303ab1cab13315c1d42df26ab93bf09b86</id>
<content type='text'>
As brought up in the discussion which followed a patch to add a
signed-off-by line with the --sign flag to format-patch from
Johannes Schindelin, add --signoff to the git commit command.

Also add --verify to make sure the lines you introduced are
clean, which is more useful in commit but not very much in
format-patch as it was originally implemented, because finding
botches at format-patch time is too late.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: log parameter updates.</title>
<updated>2005-08-10T05:28:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-09T00:03:14Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=0c091296c001836e408b8c98de1548d6c7ada67d'/>
<id>urn:sha1:0c091296c001836e408b8c98de1548d6c7ada67d</id>
<content type='text'>
While moving '-m' to make room for CVS compatible "here is the
log message", enhance source of log parameters.

  -m 'message': a command line parameter.
  -F &lt;file&gt;   : a file (use '-' to read from stdin).
  -C &lt;commit&gt; : message in existing commit.
  -c &lt;commit&gt; : message in existing commit (allows further editing).

Longer option names for these options are also available.

While we are at it, get rid of shell array bashism.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] git-commit-script fix for degenerated merge</title>
<updated>2005-08-06T06:06:58Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-08-05T15:34:38Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=eca35ecdcaa1448de8cc9ec64590f47a9012264a'/>
<id>urn:sha1:eca35ecdcaa1448de8cc9ec64590f47a9012264a</id>
<content type='text'>
If merging results in an unchanged tree, git-commit-script should not
complain that there's nothing to commit.

Also, add "[--all]" to usage().

[jc: usually there is no reason to record an unchanging merge,
but this code path is triggered only when there is a nontrivial
merge that needed to be resolved by hand, and we should be able
to record the fact that these two tree heads are dealt with as a
regular two-parent commit in order to help later merges.]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Audit rev-parse users.</title>
<updated>2005-07-23T03:34:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-23T02:09:05Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=f6e1a4d6dc4d1b3d82d5e87fdd817b3994dda5e0'/>
<id>urn:sha1:f6e1a4d6dc4d1b3d82d5e87fdd817b3994dda5e0</id>
<content type='text'>
This patch changes rev-parse users that pass a single argument
that is supposed to be a rev parameter to use "--verify".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add "git commit --all" since everybody seems to want it.</title>
<updated>2005-07-19T11:20:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@evo.osdl.org</email>
</author>
<published>2005-07-19T11:20:39Z</published>
<link rel='alternate' type='text/html' href='http://kernel.varnish.org/pub/scm/git/git.git/commit/?id=f0b32737ad5a35cc047db47353a75faccfe5939e'/>
<id>urn:sha1:f0b32737ad5a35cc047db47353a75faccfe5939e</id>
<content type='text'>
This replaces

	git-diff-files --name-only | xargs git-update-cache
	git commit

with a new "--all" argument to "git commit".
</content>
</entry>
</feed>
