<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin-commit.c, branch v1.6.3.1</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.6.3.1</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.3.1'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-04-05T08:04:54Z</updated>
<entry>
<title>Merge branch 'maint-1.6.1' into maint</title>
<updated>2009-04-05T08:04:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-05T08:04:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=be18f4b899a94ff51ff3c621822500579cf6df6a'/>
<id>urn:sha1:be18f4b899a94ff51ff3c621822500579cf6df6a</id>
<content type='text'>
* maint-1.6.1:
  commit: abort commit if interactive add failed
  git-repack: use non-dashed update-server-info
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.0' into maint-1.6.1</title>
<updated>2009-04-05T08:04:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-05T08:04:38Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=acb0b7b01f64cf55d508b469eb2a351359c0cd82'/>
<id>urn:sha1:acb0b7b01f64cf55d508b469eb2a351359c0cd82</id>
<content type='text'>
* maint-1.6.0:
  commit: abort commit if interactive add failed
  git-repack: use non-dashed update-server-info

Conflicts:
	builtin-commit.c
</content>
</entry>
<entry>
<title>commit: abort commit if interactive add failed</title>
<updated>2009-04-05T07:37:32Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-04-03T19:28:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=4f6a32f8af9cceaf0c8ccf6d00d2f100dab5a6db'/>
<id>urn:sha1:4f6a32f8af9cceaf0c8ccf6d00d2f100dab5a6db</id>
<content type='text'>
Previously we ignored the result of calling add_interactive,
which meant that if an error occurred we simply committed
whatever happened to be in the index.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Generalize and libify index_is_dirty() to index_differs_from(...)</title>
<updated>2009-02-11T06:25:39Z</updated>
<author>
<name>Stephan Beyer</name>
<email>s-beyer@gmx.net</email>
</author>
<published>2009-02-10T14:30:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=75f3ff2eeaba820b37016f464b6d1078cb6260e2'/>
<id>urn:sha1:75f3ff2eeaba820b37016f464b6d1078cb6260e2</id>
<content type='text'>
index_is_dirty() in builtin-revert.c checks if the index is dirty.
This patch generalizes this function to check if the index differs
from a revision, i.e. the former index_is_dirty() behavior can now be
achieved by index_differs_from("HEAD", 0).

The second argument "diff_flags" allows to set further diff option
flags like DIFF_OPT_IGNORE_SUBMODULES. See DIFF_OPT_* macros in diff.h
for a list.

index_differs_from() seems to be useful for more than builtin-revert.c,
so it is moved into diff-lib.c and also used in builtin-commit.c.

Yet to mention:

 - "rev.abbrev = 0;" can be safely removed.
   This has no impact on performance or functioning of neither
   setup_revisions() nor run_diff_index().

 - rev.pending.objects is free()d because this fixes a leak.
   (Also see 295dd2ad "Fix memory leak in traverse_commit_list")

Mentored-by: Daniel Barkalow &lt;barkalow@iabervon.org&gt;
Mentored-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Stephan Beyer &lt;s-beyer@gmx.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mh/maint-commit-color-status' into maint</title>
<updated>2009-01-29T07:42:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-29T07:42:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0630a66f8a043018604c5eb48e2c6881bd6c95e5'/>
<id>urn:sha1:0630a66f8a043018604c5eb48e2c6881bd6c95e5</id>
<content type='text'>
* mh/maint-commit-color-status:
  git-status -v: color diff output when color.ui is set
  git-commit: color status output when color.ui is set
</content>
</entry>
<entry>
<title>Merge branch 'cb/add-pathspec'</title>
<updated>2009-01-26T01:13:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-26T01:13:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d64d4835b83669d5c9c8ce1989859efa803874db'/>
<id>urn:sha1:d64d4835b83669d5c9c8ce1989859efa803874db</id>
<content type='text'>
* cb/add-pathspec:
  remove pathspec_match, use match_pathspec instead
  clean up pathspec matching
</content>
</entry>
<entry>
<title>Merge branch 'sb/hook-cleanup'</title>
<updated>2009-01-22T00:50:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-22T00:50:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1afcde6da1221bdb85a3630d995f9ca384042cb9'/>
<id>urn:sha1:1afcde6da1221bdb85a3630d995f9ca384042cb9</id>
<content type='text'>
* sb/hook-cleanup:
  run_hook(): allow more than 9 hook arguments
  run_hook(): check the executability of the hook before filling argv
  api-run-command.txt: talk about run_hook()
  Move run_hook() from builtin-commit.c into run-command.c (libgit)
  checkout: don't crash on file checkout before running post-checkout hook
</content>
</entry>
<entry>
<title>commit: more compact summary and without extra quotes</title>
<updated>2009-01-20T06:38:06Z</updated>
<author>
<name>Santi Béjar</name>
<email>santi@agolina.net</email>
</author>
<published>2009-01-19T22:45:16Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c5ee71fdeda21aef8a65366a3f66aa7cbe58cba0'/>
<id>urn:sha1:c5ee71fdeda21aef8a65366a3f66aa7cbe58cba0</id>
<content type='text'>
Update the report format again to save the screen real estates, while
avoiding from enclosing the one-line summary of the commit log inside
double quotes pair, which looks awkward when the message begins or ends
with a double quote.  The old format looked like this:

    [master]: created d9a5491: "foo:bar"

Simply removing the double quotes were found to be confusing as a message
often begins with a short-word (area of the system) and a colon.

The new format looks like this:

    [master d9a5491] foo:bar

As discussed in the git mailing list:

    http://thread.gmane.org/gmane.comp.version-control.git/101687/focus=101735

Signed-off-by: Santi Béjar &lt;santi@agolina.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mh/maint-commit-color-status'</title>
<updated>2009-01-18T07:05:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-18T07:05:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8f5707f9a9ac9e1f5afe6f415731fb46ea2da8ff'/>
<id>urn:sha1:8f5707f9a9ac9e1f5afe6f415731fb46ea2da8ff</id>
<content type='text'>
* mh/maint-commit-color-status:
  git-status -v: color diff output when color.ui is set
  git-commit: color status output when color.ui is set
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.6.0' into maint</title>
<updated>2009-01-18T06:39:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-01-18T06:39:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=78f111e12de40e2d9aa8d0774acc287f79862b13'/>
<id>urn:sha1:78f111e12de40e2d9aa8d0774acc287f79862b13</id>
<content type='text'>
* maint-1.6.0:
  builtin-fsck: fix off by one head count
  Documentation: let asciidoc align related options
  githooks.txt: add missing word
  builtin-commit.c: do not remove COMMIT_EDITMSG
</content>
</entry>
</feed>
