<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/commit-tree.c, branch v0.99</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v0.99</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v0.99'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-06-19T17:40:10Z</updated>
<entry>
<title>git-commit-tree: ignore duplicate parents</title>
<updated>2005-06-19T17:40:10Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-19T17:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b389237ae8cd04c2f53db52e37c02e30c63bcc89'/>
<id>urn:sha1:b389237ae8cd04c2f53db52e37c02e30c63bcc89</id>
<content type='text'>
But warn about them.  If somebody really ends up later wanting to
explicitly add a note that something has the same parent twice (who
knows, there are strange people around), we can add a flag to say that
it's expected and ok.

This was brought on by a commit in the kernel tree, where a repeated
merge caused a duplicate parent.

Parent duplicates aren't "wrong" per se, they're just in practice not
something you are ever interested in.
</content>
</entry>
<entry>
<title>[PATCH] fix and testcase for git-commit-tree option</title>
<updated>2005-05-26T23:21:13Z</updated>
<author>
<name>Rene Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2005-05-26T23:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c504aae2a6c96f1363562a3aa1dc05fb4462e978'/>
<id>urn:sha1:c504aae2a6c96f1363562a3aa1dc05fb4462e978</id>
<content type='text'>
Actually use GIT_COMMITTER_DATE in git-commit-tree.

(It used to mistakenly re-use the author date)

Add test-case for it.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>git-commit-tree: allow overriding of commit date</title>
<updated>2005-05-24T17:21:13Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-24T17:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4bd907d959673a9113e32e53f65a279b9786f25'/>
<id>urn:sha1:c4bd907d959673a9113e32e53f65a279b9786f25</id>
<content type='text'>
Using GIT_COMMITTER_DATE, of course..
</content>
</entry>
<entry>
<title>Include file cleanups..</title>
<updated>2005-05-22T18:54:17Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-22T18:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b0c3121061df6b323f430700e8077b324b5e9dd'/>
<id>urn:sha1:6b0c3121061df6b323f430700e8077b324b5e9dd</id>
<content type='text'>
Add &lt;limits.h&gt; to the include files handled by "cache.h", and remove
extraneous #include directives from various .c files. The rule is that
"cache.h" gets all the basic stuff, so that we'll have as few system
dependencies as possible.
</content>
</entry>
<entry>
<title>[PATCH] cleanup of in-code names</title>
<updated>2005-05-19T17:52:00Z</updated>
<author>
<name>Alexey Nezhdanov</name>
<email>snake@penza-gsm.ru</email>
</author>
<published>2005-05-19T11:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=667bb59b2d5b0a2e7fca5970d6f757790a6edd74'/>
<id>urn:sha1:667bb59b2d5b0a2e7fca5970d6f757790a6edd74</id>
<content type='text'>
Fixes all in-code names that leaved during "big name change".

Signed-off-by: Alexey Nezhdanov &lt;snake@penza-gsm.ru&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Rename environment variables.</title>
<updated>2005-05-10T00:57:56Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-05-10T00:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d19938ab6053e3dad75a68a60ef8cad1f378b0e5'/>
<id>urn:sha1:d19938ab6053e3dad75a68a60ef8cad1f378b0e5</id>
<content type='text'>
H. Peter Anvin mentioned that using SHA1_whatever as an
environment variable name is not nice and we should instead use
names starting with "GIT_" prefix to avoid conflicts.  Here is
what this patch does:

 * Renames the following environment variables:

    New name                           Old Name

    GIT_AUTHOR_DATE                    AUTHOR_DATE
    GIT_AUTHOR_EMAIL                   AUTHOR_EMAIL
    GIT_AUTHOR_NAME                    AUTHOR_NAME
    GIT_COMMITTER_EMAIL                COMMIT_AUTHOR_EMAIL
    GIT_COMMITTER_NAME                 COMMIT_AUTHOR_NAME
    GIT_ALTERNATE_OBJECT_DIRECTORIES   SHA1_FILE_DIRECTORIES
    GIT_OBJECT_DIRECTORY               SHA1_FILE_DIRECTORY

 * Introduces a compatibility macro, gitenv(), which does an
   getenv() and if it fails calls gitenv_bc(), which in turn
   picks up the value from old name while giving a warning about
   using an old name.

 * Changes all users of the environment variable to fetch
   environment variable with the new name using gitenv().

 * Updates the documentation and scripts shipped with Linus GIT
   distribution.

The transition plan is as follows:

 * We will keep the backward compatibility list used by gitenv()
   for now, so the current scripts and user environments
   continue to work as before.  The users will get warnings when
   they have old name but not new name in their environment to
   the stderr.

 * The Porcelain layers should start using new names.  However,
   just in case it ends up calling old Plumbing layer
   implementation, they should also export old names, taking
   values from the corresponding new names, during the
   transition period.

 * After a transition period, we would drop the compatibility
   support and drop gitenv().  Revert the callers to directly
   call getenv() but keep using the new names.

   The last part is probably optional and the transition
   duration needs to be set to a reasonable value.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add "get_sha1()" helper function.</title>
<updated>2005-05-01T23:36:56Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-05-01T23:36:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3c249c950649a37f2871a8b193f01a0640a20aef'/>
<id>urn:sha1:3c249c950649a37f2871a8b193f01a0640a20aef</id>
<content type='text'>
This allows the programs to use various simplified versions of
the SHA1 names, eg just say "HEAD" for the SHA1 pointed to by
the .git/HEAD file etc.

For example, this commit has been done with

	git-commit-tree $(git-write-tree) -p HEAD

instead of the traditional "$(cat .git/HEAD)" syntax.
</content>
</entry>
<entry>
<title>[PATCH] Do date parsing by hand...</title>
<updated>2005-04-30T16:46:49Z</updated>
<author>
<name>Edgar Toernig</name>
<email>froese@gmx.de</email>
</author>
<published>2005-04-30T16:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ecee9d9e793c7573cf3730fb9746527a0a7e94e7'/>
<id>urn:sha1:ecee9d9e793c7573cf3730fb9746527a0a7e94e7</id>
<content type='text'>
...since everything out there is either strange (libc mktime has issues
with timezones) or introduces unnecessary dependencies for people (libcurl).

This goes back to the old date parsing, but moves it out into a file of
its own, and does the "struct tm" to "seconds since epoch" handling by
hand. 

I grepped through the tz-database and it seems there's one "country"
left that has non-60-minute DST: Lord Howe Island.  All others dropped
that before 1970. 

</content>
</entry>
<entry>
<title>[PATCH] Fix AUTHOR_DATE timezone confusion</title>
<updated>2005-04-30T03:27:04Z</updated>
<author>
<name>tony.luck@intel.com</name>
<email>tony.luck@intel.com</email>
</author>
<published>2005-04-30T03:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d167f147dc6995e452cdc374ffcd07f5d9abf0bc'/>
<id>urn:sha1:d167f147dc6995e452cdc374ffcd07f5d9abf0bc</id>
<content type='text'>
This switches git-commit-tree to using curl_getdate() for the
AUTHOR_DATE, and thus fixes the problem with "mktime()" parsing dates in
the local timezone.  It also ends up being more permissive about the
format of the date. 

Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] introduce xmalloc and xrealloc</title>
<updated>2005-04-26T19:00:58Z</updated>
<author>
<name>Christopher Li</name>
<email>git@chrisli.org</email>
</author>
<published>2005-04-26T19:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=812666c8e66a21e668c0789d0422aa5a7db54961'/>
<id>urn:sha1:812666c8e66a21e668c0789d0422aa5a7db54961</id>
<content type='text'>
Introduce xmalloc and xrealloc to die gracefully with a descriptive
message when out of memory, rather than taking a SIGSEGV. 

Signed-off-by: Christopher Li&lt;chrislgit@chrisli.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
