<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-commit.sh, branch v1.3.0-rc4</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.3.0-rc4</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.3.0-rc4'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2006-04-13T23:45:48Z</updated>
<entry>
<title>Shell utilities: Guard against expr' magic tokens.</title>
<updated>2006-04-13T23:45:48Z</updated>
<author>
<name>Mark Wooding</name>
<email>mdw@distorted.org.uk</email>
</author>
<published>2006-04-13T22:01:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f327dbced25a3c6fcc0b84d2d6adffa9343b09f0'/>
<id>urn:sha1:f327dbced25a3c6fcc0b84d2d6adffa9343b09f0</id>
<content type='text'>
Some words, e.g., `match', are special to expr(1), and cause strange
parsing effects.  Track down all uses of expr and mangle the arguments
so that this isn't a problem.

Signed-off-by: Mark Wooding &lt;mdw@distorted.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: do not muck with commit message when no_edit is set.</title>
<updated>2006-04-12T18:45:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-12T18:45:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=475443c8489d9167b944367d8ec8bfef77bee0a5'/>
<id>urn:sha1:475443c8489d9167b944367d8ec8bfef77bee0a5</id>
<content type='text'>
Spotted by Linus and Darrin Thompson.  When we took a commit
message from -F &lt;file&gt; with an incomplete line, we appended "git
status" output, which ended up attaching a lone "#" at the end.

We still need the "do we have anything to commit?" check by
running "status" (which has to know what to do in different
cases with -i/-o/-a), but there is no point appending its output
to the proposed commit message given by the user.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Be verbose when !initial commit</title>
<updated>2006-03-20T22:37:59Z</updated>
<author>
<name>Yasushi SHOJI</name>
<email>yashi@atmark-techno.com</email>
</author>
<published>2006-03-20T13:11:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1fa7a68f4bf1d21bf6693f1d9a416b6a690efe52'/>
<id>urn:sha1:1fa7a68f4bf1d21bf6693f1d9a416b6a690efe52</id>
<content type='text'>
verbose option in git-commit.sh lead us to run git-diff-index, which
needs a commit-ish we are making diff against.  When we are commiting
the fist set, we obviously don't have any commit-ish in the repo.  So
we just skip the git-diff-index run.

It might be possible to produce diff against empty but do we need
that?

Signed-off-by: Yasushi SHOJI &lt;yashi@atmark-techno.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit --amend: allow empty commit.</title>
<updated>2006-03-05T08:57:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-05T04:36:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8588452ceb78b1da17652ba03f9942ef740e07ea'/>
<id>urn:sha1:8588452ceb78b1da17652ba03f9942ef740e07ea</id>
<content type='text'>
When amending a commit only to update the commit log message, git-status
would rightly say "Nothing to commit."  Do not let this prevent commit to
be made.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: make sure we protect against races.</title>
<updated>2006-03-03T05:13:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-03T05:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b8310152bc5622e4d449e3113ba4edec8fd08087'/>
<id>urn:sha1:b8310152bc5622e4d449e3113ba4edec8fd08087</id>
<content type='text'>
An earlier commit 8098a178b26dc7a158d129a092a5b78da6d12b72
accidentally lost race protection from git-commit command.
This commit reinstates it.  When something else updates HEAD
pointer while you were editing your commit message, the command
would notice and abort the commit.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit --amend</title>
<updated>2006-03-03T05:08:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-03-03T05:04:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b4019f045646b1770a80394da876b8a7c6b8ca7b'/>
<id>urn:sha1:b4019f045646b1770a80394da876b8a7c6b8ca7b</id>
<content type='text'>
The new flag is used to amend the tip of the current branch.  Prepare
the tree object you would want to replace the latest commit as usual
(this includes the usual -i/-o and explicit paths), and the commit log
editor is seeded with the commit message from the tip of the current
branch.  The commit you create replaces the current tip -- if it was a
merge, it will have the parents of the current tip as parents -- so the
current top commit is discarded.

It is a rough equivalent for:

	$ git reset --soft HEAD^
	$ ... do something else to come up with the right tree ...
	$ git commit -c ORIG_HEAD

but can be used to amend a merge commit.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/commit'</title>
<updated>2006-02-15T01:51:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-15T01:51:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=756e3ee0c62b44bd700ffb2d58c371b45ea4598e'/>
<id>urn:sha1:756e3ee0c62b44bd700ffb2d58c371b45ea4598e</id>
<content type='text'>
* jc/commit:
  commit: detect misspelled pathspec while making a partial commit.
  combine-diff: diff-files fix (#2)
  combine-diff: diff-files fix.
</content>
</entry>
<entry>
<title>commit: detect misspelled pathspec while making a partial commit.</title>
<updated>2006-02-14T22:48:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-14T20:40:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=bba319b5cecacaccef85ce3c4cf9e3593532e328'/>
<id>urn:sha1:bba319b5cecacaccef85ce3c4cf9e3593532e328</id>
<content type='text'>
When you say "git commit Documentaiton" to make partial commit
for the files only in that directory, we did not detect that as
a misspelled pathname and attempted to commit index without
change.  If nothing matched, there is no harm done, but if the
index gets modified otherwise by having another valid pathspec
or after an explicit update-index, a user will not notice
without paying attention to the "git status" preview.

This introduces --error-unmatch option to ls-files, and uses it
to detect this common user error.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: Now --only semantics is the default.</title>
<updated>2006-02-13T07:55:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-13T07:55:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4170a19587280eeb3663a47a6fd993910de78076'/>
<id>urn:sha1:4170a19587280eeb3663a47a6fd993910de78076</id>
<content type='text'>
This changes the "git commit paths..." to default to --only
semantics from traditional --include semantics, as agreed on the
list.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<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>
</feed>
