git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Fix a git stash -p corner-case
@ 2020-04-08 18:52 Johannes Schindelin via GitGitGadget
  2020-04-08 18:52 ` [PATCH 1/2] t3904: fix incorrect demonstration of a bug Johannes Schindelin via GitGitGadget
  2020-04-08 18:52 ` [PATCH 2/2] stash -p: (partially) fix bug concerning split hunks Johannes Schindelin via GitGitGadget
  0 siblings, 2 replies; 3+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2020-04-08 18:52 UTC (permalink / raw)
  To: git; +Cc: Johannes Schindelin

This corner case came up a couple of times in my personal usage of git stash
-p: I wanted to stash only part of a split hunk, and it didn't work.

I originally intended to do a full fix (for details, see the commit message
of the second patch), but in the year since I wrote this patch pair, I found
the current work-around plenty satisfactory.

Johannes Schindelin (2):
  t3904: fix incorrect demonstration of a bug
  stash -p: (partially) fix bug concerning split hunks

 builtin/stash.c        | 2 +-
 t/t3904-stash-patch.sh | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


base-commit: 9fadedd637b312089337d73c3ed8447e9f0aa775
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-602%2Fdscho%2Fstash-p-corner-case-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-602/dscho/stash-p-corner-case-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/602
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-08 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 18:52 [PATCH 0/2] Fix a git stash -p corner-case Johannes Schindelin via GitGitGadget
2020-04-08 18:52 ` [PATCH 1/2] t3904: fix incorrect demonstration of a bug Johannes Schindelin via GitGitGadget
2020-04-08 18:52 ` [PATCH 2/2] stash -p: (partially) fix bug concerning split hunks Johannes Schindelin via GitGitGadget

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).