<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit.c, branch v1.6.4.3</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.4.3</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.6.4.3'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2009-07-25T07:45:03Z</updated>
<entry>
<title>Merge branch 'js/maint-graft-unhide-true-parents'</title>
<updated>2009-07-25T07:45:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-07-25T07:45:03Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=130b04ab37d74e574d525df7948b963b13c6bdbf'/>
<id>urn:sha1:130b04ab37d74e574d525df7948b963b13c6bdbf</id>
<content type='text'>
* js/maint-graft-unhide-true-parents:
  git repack: keep commits hidden by a graft
  Add a test showing that 'git repack' throws away grafted-away parents

Conflicts:
	git-repack.sh
</content>
</entry>
<entry>
<title>git repack: keep commits hidden by a graft</title>
<updated>2009-07-24T16:10:16Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-07-23T15:33:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7f3140cd23f126e578ccaaea8c2cebe36824a7ac'/>
<id>urn:sha1:7f3140cd23f126e578ccaaea8c2cebe36824a7ac</id>
<content type='text'>
When you have grafts that pretend that a given commit has different
parents than the ones recorded in the commit object, it is dangerous
to let 'git repack' remove those hidden parents, as you can easily
remove the graft and end up with a broken repository.

So let's play it safe and keep those parent objects and everything
that is reachable by them, in addition to the grafted parents.

As this behavior can only be triggered by git pack-objects, and as that
command handles duplicate parents gracefully, we do not bother to cull
duplicated parents that may result by using both true and grafted
parents.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Allow the Unix epoch to be a valid commit date</title>
<updated>2009-07-06T16:36:16Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2009-07-03T04:34:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f290974390c9be76e9166df6f0ab5ad790b812ac'/>
<id>urn:sha1:f290974390c9be76e9166df6f0ab5ad790b812ac</id>
<content type='text'>
It is common practice to use the Unix epoch as a fallback date
when a suitable date is not available.  This is true of git svn
and possibly other importing tools that import non-git history
into git.

Instead of clobbering established strtoul() error reporting
semantics with our own, preserve the strtoul() error value
of ULONG_MAX for fsck.c to handle.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>bisect: drop unparse_commit() and use clear_commit_marks()</title>
<updated>2009-05-27T20:45:45Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-05-27T05:09:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7a8e3895f68e9ae4e44e521c78fc98768c2a88ec'/>
<id>urn:sha1:7a8e3895f68e9ae4e44e521c78fc98768c2a88ec</id>
<content type='text'>
The goal of this patch series is to check if good revisions are
ancestor of the bad revision without forking a process to launch
"git rev-list $good ^$bad".

This new version of this patch series does not use an "unparse_commit"
function anymore, we use "clear_commit_marks" instead.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit: add function to unparse a commit and its parents</title>
<updated>2009-05-18T06:19:32Z</updated>
<author>
<name>Christian Couder</name>
<email>chriscool@tuxfamily.org</email>
</author>
<published>2009-05-17T15:36:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=836a3fd5b0c439642268fd1299cd16729f15e614'/>
<id>urn:sha1:836a3fd5b0c439642268fd1299cd16729f15e614</id>
<content type='text'>
This patch adds the "unparse_commit" function that returns a commit
into an unparsed state by freeing its data and resetting its fields
to 0.

Its parents are recursively unparsed too, because they might have
been changed. But its tree is not unparsed as it should not have
been modifed.

Note that as the "flags" and "used" fields may be used even if the
object is not parsed, we have to reset them anyway.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "Merge branch 'js/notes'"</title>
<updated>2009-02-11T05:32:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-11T05:31:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=954cfb5cfd17d57b9b31b19b73efe73199407e07'/>
<id>urn:sha1:954cfb5cfd17d57b9b31b19b73efe73199407e07</id>
<content type='text'>
This reverts commit 7b75b331f6744fbf953fe8913703378ef86a2189, reversing
changes made to 5d680a67d7909c89af96eba4a2d77abed606292b.
</content>
</entry>
<entry>
<title>Merge branch 'js/notes'</title>
<updated>2009-02-06T03:40:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-02-06T03:40:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7b75b331f6744fbf953fe8913703378ef86a2189'/>
<id>urn:sha1:7b75b331f6744fbf953fe8913703378ef86a2189</id>
<content type='text'>
* js/notes:
  git-notes: fix printing of multi-line notes
  notes: fix core.notesRef documentation
  Add an expensive test for git-notes
  Speed up git notes lookup
  Add a script to edit/inspect notes
  Introduce commit notes

Conflicts:
	pretty.c
</content>
</entry>
<entry>
<title>Make has_commit() non-static</title>
<updated>2009-01-28T19:33:03Z</updated>
<author>
<name>Jake Goulding</name>
<email>goulding@vivisimo.com</email>
</author>
<published>2009-01-26T14:13:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426'/>
<id>urn:sha1:7fcdb36e29f9a5e779bc9e44cd69f8f69fac9426</id>
<content type='text'>
Move has_commit() from branch to a common location, in preparation for
using it in "git-tag". Rename it to is_descendant_of() to make it more
unique and descriptive.

Signed-off-by: Jake Goulding &lt;goulding@vivisimo.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Introduce commit notes</title>
<updated>2008-12-21T10:47:21Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-12-20T12:05:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=879ef2485d6ced20845ca626ecb45a9b65aa3a70'/>
<id>urn:sha1:879ef2485d6ced20845ca626ecb45a9b65aa3a70</id>
<content type='text'>
Commit notes are blobs which are shown together with the commit
message.  These blobs are taken from the notes ref, which you can
configure by the config variable core.notesRef, which in turn can
be overridden by the environment variable GIT_NOTES_REF.

The notes ref is a branch which contains "files" whose names are
the names of the corresponding commits (i.e. the SHA-1).

The rationale for putting this information into a ref is this: we
want to be able to fetch and possibly union-merge the notes,
maybe even look at the date when a note was introduced, and we
want to store them efficiently together with the other objects.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit.c: make read_graft_file() static</title>
<updated>2008-10-03T01:03:35Z</updated>
<author>
<name>Nanako Shiraishi</name>
<email>nanako3@lavabit.com</email>
</author>
<published>2008-10-02T10:14:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c5ae6439d454288a809dd7c916e44ec4a5ae0b3b'/>
<id>urn:sha1:c5ae6439d454288a809dd7c916e44ec4a5ae0b3b</id>
<content type='text'>
This function is not called by any other file.

Signed-off-by: Nanako Shiraishi &lt;nanako3@lavabit.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
