git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Be careful about left-over files from git add --edit runs
@ 2019-01-15 15:42 Johannes Schindelin via GitGitGadget
  2019-01-15 15:42 ` [PATCH 1/1] add --edit: truncate the patch file Johannes Schindelin via GitGitGadget
  2019-01-15 18:50 ` [PATCH 0/1] Be careful about left-over files from git add --edit runs Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2019-01-15 15:42 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

J Wyman reported almost a year ago (and I fixed this issue in Git for
Windows around that time) that the .git/ADD_EDIT.patch file might still lie
around at the beginning of git add --edit from previous runs, and if the new
patch is smaller than the old one, the resulting diff is obviously corrupt.

This is yet another Git for Windows patch finally making it to the Git
mailing list.

Johannes Schindelin (1):
  add --edit: truncate the patch file

 builtin/add.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: ecbdaf0899161c067986e9d9d564586d4b045d62
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-107%2Fdscho%2Fadd-e-truncate-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-107/dscho/add-e-truncate-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/107
-- 
gitgitgadget

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

end of thread, other threads:[~2019-01-16 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 15:42 [PATCH 0/1] Be careful about left-over files from git add --edit runs Johannes Schindelin via GitGitGadget
2019-01-15 15:42 ` [PATCH 1/1] add --edit: truncate the patch file Johannes Schindelin via GitGitGadget
2019-01-15 19:01   ` Junio C Hamano
2019-01-15 18:50 ` [PATCH 0/1] Be careful about left-over files from git add --edit runs Junio C Hamano
2019-01-16 13:47   ` Johannes Schindelin

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).