<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-commit.sh, branch v1.2.2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.2.2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2006-02-12T02:55:43Z</updated>
<entry>
<title>Only call git-rerere if $GIT_DIR/rr-cache exists.</title>
<updated>2006-02-12T02:55:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-12T02:55:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1536dd9c61b5582cf079999057cb715dd6dc6620'/>
<id>urn:sha1:1536dd9c61b5582cf079999057cb715dd6dc6620</id>
<content type='text'>
Johannes noticed that git-rerere depends on Digest.pm, and if
one does not use the command, one can live without it.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit -v: have patch at the end.</title>
<updated>2006-02-11T02:44:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-11T02:38:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9ae6be80163669db921e6522140900da41753ed5'/>
<id>urn:sha1:9ae6be80163669db921e6522140900da41753ed5</id>
<content type='text'>
It was pointed out that otherwise more important summary
information prefixed with '#' would become prone to be missed.

Also instead of chopping at the first '^---$' line, stop at the
first 'diff --git a/' line.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-status -v</title>
<updated>2006-02-10T08:54:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-10T08:45:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=cf7bb589af739563c90dc32b4901bea73aaaa9d0'/>
<id>urn:sha1:cf7bb589af739563c90dc32b4901bea73aaaa9d0</id>
<content type='text'>
This revamps the git-status command to take the same set of
parameters as git commit.  It gives a preview of what is being
committed with that command.  With -v flag, it shows the diff
output between the HEAD commit and the index that would be
committed if these flags were given to git-commit command.

git-commit also acquires -v flag (it used to mean "verify" but
that is the default anyway and there is --no-verify to turn it
off, so not much is lost), which uses the updated git-status -v
to seed the commit log buffer.  This is handy for writing a log
message while reviewing the changes one last time.

Now, git-commit and git-status are internally share the same
implementation.

Unlike previous git-commit change, this uses a temporary index
to prepare the index file that would become the real index file
after a successful commit, and moves it to the real index file
once the commit is actually made.  This makes it safer than the
previous scheme, which stashed away the original index file and
restored it after an aborted commit.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: finishing touches.</title>
<updated>2006-02-07T07:20:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-06T00:08:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5a798fb57f788692467b1a11416dd5ebff0d31ae'/>
<id>urn:sha1:5a798fb57f788692467b1a11416dd5ebff0d31ae</id>
<content type='text'>
Introduce --only flag to allow the new "partial commit"
semantics when paths are specified.  The default is still the
traditional --include semantics.  Once peoples' fingers and
scripts that want the traditional behaviour are updated to
explicitly say --include, we could change it to either default
to --only, or refuse to operate without either --only/--include
when paths are specified.

This also fixes a couple of bugs in the previous round.  Namely:

 - forgot to save/restore index in some cases.

 - forgot to use the temporary index to show status when '--only
   paths...' semantics was used.

 - --author did not take precedence when reusing an existing
   commit.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: revamp the git-commit semantics.</title>
<updated>2006-02-07T07:20:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-05T08:07:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=130fcca63fe8e7e087e7419907e018cbbaf434a3'/>
<id>urn:sha1:130fcca63fe8e7e087e7419907e018cbbaf434a3</id>
<content type='text'>
 - "git commit" without _any_ parameter keeps the traditional
   behaviour.  It commits the current index.

   We commit the whole index even when this form is run from a
   subdirectory.

 - "git commit --include paths..." (or "git commit -i paths...")
   is equivalent to:

   	git update-index --remove paths...
        git commit

 - "git commit paths..." acquires a new semantics.  This is an
   incompatible change that needs user training, which I am
   still a bit reluctant to swallow, but enough people seem to
   have complained that it is confusing to them.  It

   1. refuses to run if $GIT_DIR/MERGE_HEAD exists, and reminds
      trained git users that the traditional semantics now needs
      -i flag.

   2. refuses to run if named paths... are different in HEAD and
      the index (ditto about reminding).  Added paths are OK.

   3. reads HEAD commit into a temporary index file.

   4. updates named paths... from the working tree in this
      temporary index.

   5. does the same updates of the paths... from the working
      tree to the real index.

   6. makes a commit using the temporary index that has the
      current HEAD as the parent, and updates the HEAD with this
      new commit.

 - "git commit --all" can run from a subdirectory, but it updates
   the index with all the modified files and does a whole tree
   commit.

 - In all cases, when the command decides not to create a new
   commit, the index is left as it was before the command is
   run.  This means that the two "git diff" in the following
   sequence:

       $ git diff
       $ git commit -a
       $ git diff

   would show the same diff if you abort the commit process by
   making the commit log message empty.

This commit also introduces much requested --author option.

	$ git commit --author 'A U Thor &lt;author@example.com&gt;'

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-rerere: reuse recorded resolve.</title>
<updated>2006-02-07T05:53:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-29T07:15:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8389b52b2a51d5b110b508cc67f0f41f99c30d3f'/>
<id>urn:sha1:8389b52b2a51d5b110b508cc67f0f41f99c30d3f</id>
<content type='text'>
In a workflow that employs relatively long lived topic branches,
the developer sometimes needs to resolve the same conflict over
and over again until the topic branches are done (either merged
to the "release" branch, or sent out and accepted upstream).

This commit introduces a new command, "git rerere", to help this
process by recording the conflicted automerge results and
corresponding hand-resolve results on the initial manual merge,
and later by noticing the same conflicted automerge and applying
the previously recorded hand resolution using three-way merge.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not fall back on vi on dumb terminals.</title>
<updated>2006-02-05T06:16:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-05T06:10:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7334f06ce6c53e161d1c183a5f93a23992b3c440'/>
<id>urn:sha1:7334f06ce6c53e161d1c183a5f93a23992b3c440</id>
<content type='text'>
When TERM is set to 'dumb', do not start vi to edit the commit log
message.

Suggested by Amos Waterland.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>format-patch/commit: Quote single quote in the author name properly.</title>
<updated>2006-01-06T04:02:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-06T03:50:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=aa66c7ec77d474b737da607d6cb2d07f56628def'/>
<id>urn:sha1:aa66c7ec77d474b737da607d6cb2d07f56628def</id>
<content type='text'>
Noticed by Kyle McMartin.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>trivial: typo in git-commit.sh</title>
<updated>2006-01-06T01:23:16Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2006-01-05T11:44:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b6ae5409ea446365c328561dc17311111058ec26'/>
<id>urn:sha1:b6ae5409ea446365c328561dc17311111058ec26</id>
<content type='text'>
Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Trivial usage string clean-up</title>
<updated>2005-12-14T10:53:43Z</updated>
<author>
<name>freku045@student.liu.se</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-13T22:30:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=806f36d4d7caf75b6d3e098cb0353d85d3477c7d'/>
<id>urn:sha1:806f36d4d7caf75b6d3e098cb0353d85d3477c7d</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
