All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Git doesn't allow to apply a patch with empty filenames.
@ 2015-07-06 17:16 Evgen Druzhynin
  2015-07-06 17:16 ` [PATCH] Added ability to scip patch hunk with an empty filename Evgen Druzhynin
  0 siblings, 1 reply; 3+ messages in thread
From: Evgen Druzhynin @ 2015-07-06 17:16 UTC (permalink / raw)
  To: git; +Cc: Evgen Druzhynin

git-apply fails if '-p' option truncate at least one filename in patch to zero size.
This solution tries to bring closer "git-apply" to standard Linux patch tool.
Standard patch tool skip the truncated filenames and successfully applies patch.

Evgen Druzhynin (1):
  Added ability to scip patch hunk with an empty file.

 builtin/apply.c | 16 +++++-----------
 po/bg.po        | 15 ---------------
 po/ca.po        | 15 ---------------
 po/de.po        | 15 ---------------
 po/fr.po        | 15 ---------------
 po/git.pot      | 11 -----------
 po/it.po        | 11 -----------
 po/pt_PT.po     |  7 -------
 po/ru.po        | 12 ------------
 po/sv.po        | 16 ----------------
 po/vi.po        | 12 ------------
 po/zh_CN.po     | 11 -----------
 12 files changed, 5 insertions(+), 151 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2015-07-06 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 17:16 [PATCH] Git doesn't allow to apply a patch with empty filenames Evgen Druzhynin
2015-07-06 17:16 ` [PATCH] Added ability to scip patch hunk with an empty filename Evgen Druzhynin
2015-07-06 18:36   ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.