<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v1.6.0.1</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.6.0.1</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.6.0.1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2008-08-24T21:47:24Z</updated>
<entry>
<title>GIT 1.6.0.1</title>
<updated>2008-08-24T21:47:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-24T21:47:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5760a6b094736e6f59eb32c7abb4cdbb7fca1627'/>
<id>urn:sha1:5760a6b094736e6f59eb32c7abb4cdbb7fca1627</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ag/maint-combine-diff-fix' into maint</title>
<updated>2008-08-24T21:32:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-24T21:32:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=fb7092807962af168a76f6d8cbab02150daa0b5a'/>
<id>urn:sha1:fb7092807962af168a76f6d8cbab02150daa0b5a</id>
<content type='text'>
* ag/maint-combine-diff-fix:
  Respect core.autocrlf in combined diff
</content>
</entry>
<entry>
<title>Merge branch 'mv/maint-merge-fix' into maint</title>
<updated>2008-08-24T21:29:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-24T21:29:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=97e5f4908dd22c99e825ccb254f05a61fda8d19c'/>
<id>urn:sha1:97e5f4908dd22c99e825ccb254f05a61fda8d19c</id>
<content type='text'>
* mv/maint-merge-fix:
  merge: fix numerus bugs around "trivial merge" area
</content>
</entry>
<entry>
<title>Documentation: clarify pager configuration</title>
<updated>2008-08-24T19:04:14Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@uchicago.edu</email>
</author>
<published>2008-08-24T05:28:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ab54cd6c4d54b7d9bf6dccfa7ea54f209ea76601'/>
<id>urn:sha1:ab54cd6c4d54b7d9bf6dccfa7ea54f209ea76601</id>
<content type='text'>
The unwary user may not know how to disable the -FRSX options.

Signed-off-by: Jonathan Nieder &lt;jrnieder@uchicago.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: clarify pager.&lt;cmd&gt; configuration</title>
<updated>2008-08-24T19:01:28Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@uchicago.edu</email>
</author>
<published>2008-08-24T05:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=32818085ee88dd98c48a0838fba3c4673d5e819c'/>
<id>urn:sha1:32818085ee88dd98c48a0838fba3c4673d5e819c</id>
<content type='text'>
It was not obvious from the text that pager.&lt;cmd&gt; is a boolean
setting.

While we're changing the description, make some other
improvements: lest we forget and fret, clarify that -p and
pager.&lt;cmd&gt; do not kick in when stdout is not a tty; point to
related core.pager and GIT_PAGER settings; use renamed --paginate
option.

Signed-off-by: Jonathan Nieder &lt;jrnieder@uchicago.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Clean up the git-p4 documentation</title>
<updated>2008-08-24T19:00:14Z</updated>
<author>
<name>Simon Hausmann</name>
<email>simon@lst.de</email>
</author>
<published>2008-08-24T14:12:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=f5f7e4a18cf656747be8f8447ca304ddf716c742'/>
<id>urn:sha1:f5f7e4a18cf656747be8f8447ca304ddf716c742</id>
<content type='text'>
This patch massages the documentation a bit for improved readability and cleans
it up from outdated options/commands.

Signed-off-by: Simon Hausmann &lt;simon@lst.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Respect core.autocrlf in combined diff</title>
<updated>2008-08-24T06:59:20Z</updated>
<author>
<name>Alexander Gavrilov</name>
<email>angavrilov@gmail.com</email>
</author>
<published>2008-08-23T19:21:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5e568f9e3027797842807213ce590140c9daf9ce'/>
<id>urn:sha1:5e568f9e3027797842807213ce590140c9daf9ce</id>
<content type='text'>
Fix git-diff to make it produce useful 3-way diffs for merge conflicts in
repositories with autocrlf enabled. Otherwise it always reports that the
whole file was changed, because it uses the contents from the working tree
without necessary conversion.

Signed-off-by: Alexander Gavrilov &lt;angavrilov@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Makefile: enable SNPRINTF_RETURNS_BOGUS for HP-UX</title>
<updated>2008-08-24T04:53:35Z</updated>
<author>
<name>Miklos Vajna</name>
<email>vmiklos@frugalware.org</email>
</author>
<published>2008-08-23T22:07:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=7d770163271db1ec3608d3b2b77e306346e24a4a'/>
<id>urn:sha1:7d770163271db1ec3608d3b2b77e306346e24a4a</id>
<content type='text'>
In 81cc66a, customization has been added to Makefile for supporting
HP-UX, but git commit is still problematic. This should fix the issue.

Signed-off-by: Miklos Vajna &lt;vmiklos@frugalware.org&gt;
Acked-by: Robert Schiele &lt;rschiele@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>merge: fix numerus bugs around "trivial merge" area</title>
<updated>2008-08-24T01:17:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-23T19:56:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=446247db78a733f44d2470afb1f1983d28058159'/>
<id>urn:sha1:446247db78a733f44d2470afb1f1983d28058159</id>
<content type='text'>
The "trivial merge" codepath wants to optimize itself by making an
internal call to the read-tree machinery, but it does not read the index
before doing so, and the codepath is never exercised.  Incidentally, this
failure to read the index upfront means that the safety to refuse doing
anything when the index is unmerged does not kick in, either.

These two problem are fixed by using read_cache_unmerged() that does read
the index before checking if it is unmerged at the beginning of
cmd_merge().

The primary logic of the merge, however, assumes that the process never
reads the index in-core, and the call to write_cache_as_tree() it makes
from write_tree_trivial() will always read from the on-disk index that is
prepared the strategy back-ends.  This assumption is now broken by the
above fix.  To fix this issue, we now call discard_cache() before calling
write_tree_trivial() when it wants to write the on-disk index as a tree.

When multiple strategies are tried, their results are evaluated by reading
the resulting index and inspecting it.  The codepath needs to make a call
to read_cache() for each successful strategy, and for that to work, they
need to discard_cache() the one read by the previous round.

Also the "trivial merge" forgot that the current commit is one of the
parents of the resulting commit.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>unpack_trees(): protect the handcrafted in-core index from read_cache()</title>
<updated>2008-08-24T01:09:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-08-23T19:57:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=913e0e99b6a6e63af6a062622a1f94bd78fd8052'/>
<id>urn:sha1:913e0e99b6a6e63af6a062622a1f94bd78fd8052</id>
<content type='text'>
unpack_trees() rebuilds the in-core index from scratch by allocating a new
structure and finishing it off by copying the built one to the final
index.

The resulting in-core index is Ok for most use, but read_cache() does not
recognize it as such.  The function is meant to be no-op if you already
have loaded the index, until you call discard_cache().

This change the way read_cache() detects an already initialized in-core
index, by introducing an extra bit, and marks the handcrafted in-core
index as initialized, to avoid this problem.

A better fix in the longer term would be to change the read_cache() API so
that it will always discard and re-read from the on-disk index to avoid
confusion.  But there are higher level API that have relied on the current
semantics, and they and their users all need to get converted, which is
outside the scope of 'maint' track.

An example of such a higher level API is write_cache_as_tree(), which is
used by git-write-tree as well as later Porcelains like git-merge, revert
and cherry-pick.  In the longer term, we should remove read_cache() from
there and add one to cmd_write_tree(); other callers expect that the
in-core index they prepared is what gets written as a tree so no other
change is necessary for this particular codepath.

The original version of this patch marked the index by pointing an
otherwise wasted malloc'ed memory with o-&gt;result.alloc, but this version
uses Linus's idea to use a new "initialized" bit, which is conceptually
much cleaner.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
