<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, branch v2.4.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.6</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-07-15T18:41:21Z</updated>
<entry>
<title>Merge branch 'pt/t0302-needs-sanity' into maint</title>
<updated>2015-07-15T18:41:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-15T18:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e9da4e6ff2768700e707d79122c992665bc03bd2'/>
<id>urn:sha1:e9da4e6ff2768700e707d79122c992665bc03bd2</id>
<content type='text'>
* pt/t0302-needs-sanity:
  t0302: "unreadable" test needs SANITY prereq
</content>
</entry>
<entry>
<title>Merge branch 'jc/do-not-feed-tags-to-clear-commit-marks' into maint</title>
<updated>2015-07-15T18:41:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-07-15T18:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93eba05b4f0b235dd859d9a9ed6ebb1ed49e1d60'/>
<id>urn:sha1:93eba05b4f0b235dd859d9a9ed6ebb1ed49e1d60</id>
<content type='text'>
"git format-patch --ignore-if-upstream A..B" did not like to be fed
tags as boundary commits.

* jc/do-not-feed-tags-to-clear-commit-marks:
  format-patch: do not feed tags to clear_commit_marks()
</content>
</entry>
<entry>
<title>Merge branch 'jk/stash-require-clean-index' into maint</title>
<updated>2015-06-26T06:03:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-26T06:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=351d06df519ee405a1926e0c6ee34d6a1dba6b46'/>
<id>urn:sha1:351d06df519ee405a1926e0c6ee34d6a1dba6b46</id>
<content type='text'>
A hotfix for the topic already in 'master'.

* jk/stash-require-clean-index:
  Revert "stash: require a clean index to apply"
</content>
</entry>
<entry>
<title>Merge branch 'jk/die-on-bogus-worktree-late' into maint</title>
<updated>2015-06-25T18:02:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-25T18:02:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f2bd231414fc9c22307971bcc6c5a3a96dec75c1'/>
<id>urn:sha1:f2bd231414fc9c22307971bcc6c5a3a96dec75c1</id>
<content type='text'>
The setup code used to die when core.bare and core.worktree are set
inconsistently, even for commands that do not need working tree.

* jk/die-on-bogus-worktree-late:
  setup_git_directory: delay core.bare/core.worktree errors
</content>
</entry>
<entry>
<title>Merge branch 'jk/squelch-missing-link-warning-for-unreachable' into maint</title>
<updated>2015-06-25T18:02:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-25T18:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c53312583b2d25b6ed5f0aa421993795743d1da6'/>
<id>urn:sha1:c53312583b2d25b6ed5f0aa421993795743d1da6</id>
<content type='text'>
Recent "git prune" traverses young unreachable objects to safekeep
old objects in the reachability chain from them, which sometimes
caused error messages that are unnecessarily alarming.

* jk/squelch-missing-link-warning-for-unreachable:
  suppress errors on missing UNINTERESTING links
  silence broken link warnings with revs-&gt;ignore_missing_links
  add quieter versions of parse_{tree,commit}
</content>
</entry>
<entry>
<title>Merge branch 'mm/rebase-i-post-rewrite-exec' into maint</title>
<updated>2015-06-25T18:02:09Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-25T18:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f249409b6be74132e80e6d83f264aaa158563be1'/>
<id>urn:sha1:f249409b6be74132e80e6d83f264aaa158563be1</id>
<content type='text'>
"git rebase -i" fired post-rewrite hook when it shouldn't (namely,
when it was told to stop sequencing with 'exec' insn).

* mm/rebase-i-post-rewrite-exec:
  t5407: use &lt;&lt;- to align the expected output
  rebase -i: fix post-rewrite hook with failed exec command
  rebase -i: demonstrate incorrect behavior of post-rewrite
</content>
</entry>
<entry>
<title>Merge branch 'jk/http-backend-deadlock' into maint</title>
<updated>2015-06-16T21:33:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-16T21:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b76b4cd4f1d822686374c5fdeb68ab0aac28bff1'/>
<id>urn:sha1:b76b4cd4f1d822686374c5fdeb68ab0aac28bff1</id>
<content type='text'>
Communication between the HTTP server and http_backend process can
lead to a dead-lock when relaying a large ref negotiation request.
Diagnose the situation better, and mitigate it by reading such a
request first into core (to a reasonable limit).

* jk/http-backend-deadlock:
  http-backend: spool ref negotiation requests to buffer
  t5551: factor out tag creation
  http-backend: fix die recursion with custom handler
</content>
</entry>
<entry>
<title>Merge branch 'jh/filter-empty-contents' into maint</title>
<updated>2015-06-16T21:33:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-16T21:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=070d276cc15494184d2004d506e663f0cb791d44'/>
<id>urn:sha1:070d276cc15494184d2004d506e663f0cb791d44</id>
<content type='text'>
The clean/smudge interface did not work well when filtering an
empty contents (failed and then passed the empty input through).
It can be argued that a filter that produces anything but empty for
an empty input is nonsense, but if the user wants to do strange
things, then why not?

* jh/filter-empty-contents:
  sha1_file: pass empty buffer to index empty file
</content>
</entry>
<entry>
<title>Merge branch 'jk/stash-options' into maint</title>
<updated>2015-06-16T21:33:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-06-16T21:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=659d4c8fb21902660acd52f9e77170e82774b9ff'/>
<id>urn:sha1:659d4c8fb21902660acd52f9e77170e82774b9ff</id>
<content type='text'>
Make "git stash something --help" error out, so that users can
safely say "git stash drop --help".

* jk/stash-options:
  stash: recognize "--help" for subcommands
  stash: complain about unknown flags
</content>
</entry>
<entry>
<title>Revert "stash: require a clean index to apply"</title>
<updated>2015-06-15T20:11:17Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2015-06-15T18:27:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=19376104a8251a7e6c56579cdcd2eb0a106d1fd6'/>
<id>urn:sha1:19376104a8251a7e6c56579cdcd2eb0a106d1fd6</id>
<content type='text'>
This reverts commit ed178ef13a26136d86ff4e33bb7b1afb5033f908.

That commit was an attempt to improve the safety of applying
a stash, because the application process may create
conflicted index entries, after which it is hard to restore
the original index state.

Unfortunately, this hurts some common workflows around "git
stash -k", like:

    git add -p       ;# (1) stage set of proposed changes
    git stash -k     ;# (2) get rid of everything else
    make test        ;# (3) make sure proposal is reasonable
    git stash apply  ;# (4) restore original working tree

If you "git commit" between steps (3) and (4), then this
just works. However, if these steps are part of a pre-commit
hook, you don't have that opportunity (you have to restore
the original state regardless of whether the tests passed or
failed).

It's possible that we could provide better tools for this
sort of workflow. In particular, even before ed178ef, it
could fail with a conflict if there were conflicting hunks
in the working tree and index (since the "stash -k" puts the
index version into the working tree, and we then attempt to
apply the differences between HEAD and the old working tree
on top of that). But the fact remains that people have been
using it happily for a while, and the safety provided by
ed178ef is simply not that great. Let's revert it for now.
In the long run, people can work on improving stash for this
sort of workflow, but the safety tradeoff is not worth it in
the meantime.

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