<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v1.6.5.6</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v1.6.5.6</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v1.6.5.6'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2009-12-10T23:42:30Z</updated>
<entry>
<title>Git 1.6.5.6</title>
<updated>2009-12-10T23:42:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-10T23:42:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=9861b644e045b5ee0e16dea65b44419205090960'/>
<id>urn:sha1:9861b644e045b5ee0e16dea65b44419205090960</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix archive format with -- on the command line</title>
<updated>2009-12-10T23:29:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-10T23:27:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=782a0005fcb26bb7ef27f720fd139ae40a6f434b'/>
<id>urn:sha1:782a0005fcb26bb7ef27f720fd139ae40a6f434b</id>
<content type='text'>
Giving --format from the command line, or using output file extention to
DWIM the output format, with a pathspec that is disambiguated with an
explicit double-dash on the command line, e.g.

    git archive -o file --format=zip HEAD -- path
    git archive -o file.zip HEAD -- path

didn't work correctly.

This was because the code reordered (when one was given) or added (when
the format was inferred) a --format argument at the end, effectively
making it to "archive HEAD -- path --format=zip", i.e. an extra pathspec
that is unlikely to match anything.

The command line argument list should always be "options, revs and then
paths", and we should set a good example by inserting the --format at the
beginning instead.

Reported-by: Ilari Liusvaara &lt;ilari.liusvaara@elisanet.fi&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Remove post-upload-hook</title>
<updated>2009-12-10T20:21:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-10T20:17:11Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=1456b043fc0f0a395c35d6b5e55b0dad1b6e7acc'/>
<id>urn:sha1:1456b043fc0f0a395c35d6b5e55b0dad1b6e7acc</id>
<content type='text'>
This hook runs after "git fetch" in the repository the objects are
fetched from as the user who fetched, and has security implications.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mm/maint-merge-ff-error-message-fix' into maint</title>
<updated>2009-12-09T06:42:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-09T06:42:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe'/>
<id>urn:sha1:5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe</id>
<content type='text'>
* mm/maint-merge-ff-error-message-fix:
  builtin-merge: show user-friendly error messages for fast-forward too.
  merge-recursive: make the error-message generation an extern function

Conflicts:
	merge-recursive.c
</content>
</entry>
<entry>
<title>Merge branch 'jn/maint-pull-rebase-error-message' into maint</title>
<updated>2009-12-09T06:39:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-09T06:39:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=389e0baa942c4548c5baa60541045b8900113378'/>
<id>urn:sha1:389e0baa942c4548c5baa60541045b8900113378</id>
<content type='text'>
* jn/maint-pull-rebase-error-message:
  pull: clarify advice for the unconfigured error case
</content>
</entry>
<entry>
<title>Merge branch 'jk/maint-add-p-delete-fix' into maint</title>
<updated>2009-12-09T06:37:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-09T06:37:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=a876433c5fc27cc14860dea3d608ab4e0ff62380'/>
<id>urn:sha1:a876433c5fc27cc14860dea3d608ab4e0ff62380</id>
<content type='text'>
* jk/maint-add-p-delete-fix:
  add-interactive: fix deletion of non-empty files
</content>
</entry>
<entry>
<title>add-interactive: fix deletion of non-empty files</title>
<updated>2009-12-08T07:52:46Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-12-08T07:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8947fdd598848b8ceb2cea9ff42e906c946eae5c'/>
<id>urn:sha1:8947fdd598848b8ceb2cea9ff42e906c946eae5c</id>
<content type='text'>
Commit 24ab81a fixed the deletion of empty files, but broke
deletion of non-empty files. The approach it took was to
factor out the "deleted" line from the patch header into its
own hunk, the same way we do for mode changes. However,
unlike mode changes, we only showed the special "delete this
file" hunk if there were no other hunks. Otherwise, the user
would annoyingly be presented with _two_ hunks: one for
deleting the file and one for deleting the content.

This meant that in the non-empty case, we forgot about the
deleted line entirely, and we submitted a bogus patch to
git-apply (with "/dev/null" as the destination file, but not
marked as a deletion).

Instead, this patch combines the file deletion hunk and the
content deletion hunk (if there is one) into a single
deletion hunk which is either staged or not.

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>Git 1.6.5.5</title>
<updated>2009-12-05T19:08:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-12-05T19:08:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=aa031314bf8189a15290d5bd0d85fa2a0307ceb7'/>
<id>urn:sha1:aa031314bf8189a15290d5bd0d85fa2a0307ceb7</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix diff -B/--dirstat miscounting of newly added contents</title>
<updated>2009-12-05T18:54:17Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2009-12-04T20:07:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=77cd6ab62108c2d4ddd4343abd9bae17c406be4b'/>
<id>urn:sha1:77cd6ab62108c2d4ddd4343abd9bae17c406be4b</id>
<content type='text'>
What used to happen is that diffcore_count_changes() simply ignored any
hashes in the destination that didn't match hashes in the source. EXCEPT
if the source hash didn't exist at all, in which case it would count _one_
destination hash that happened to have the "next" hash value.  As a
consequence, newly added material was often undercounted, making output
from --dirstat and "complete rewrite" detection used by -B unrelialble.

This changes it so that:

 - whenever it bypasses a destination hash (because it doesn't match a
   source), it counts the bytes associated with that as "literal added"

 - at the end (once we have used up all the source hashes), we do the same
   thing with the remaining destination hashes.

 - when hashes do match, and we use the difference in counts as a value,
   we also use up that destination hash entry (the 'd++').

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>reset: improve worktree safety valves</title>
<updated>2009-12-05T18:28:20Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2009-12-04T11:11:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=952dfc6944b29582482ff50a85c04879406c06ba'/>
<id>urn:sha1:952dfc6944b29582482ff50a85c04879406c06ba</id>
<content type='text'>
The existing code checked to make sure we were not in a bare
repository when doing a hard reset. However, we should take
this one step further, and make sure we are in a worktree.
Otherwise, we can end up munging files inside of '.git'.

Furthermore, we should do the same check for --merge resets,
which have the same properties. Actually, a merge reset of
HEAD^ would already complain, since further down in the code
we want a worktree. However, it is nicer to check up-front;
then we are sure we cover all cases ("git reset --merge"
would run, even though it wasn't doing anything) and we can
give a more specific message.

Add tests to t7103 to cover these cases and some missing ones.

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