git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-am -p fails with new file
@ 2009-07-24 18:09 Pierre-Marc Fournier
  0 siblings, 0 replies; only message in thread
From: Pierre-Marc Fournier @ 2009-07-24 18:09 UTC (permalink / raw)
  To: git

I have a patch generated with git format-patch. I am trying to apply it
in a repository that contains only a subdirectory of the original
repository.

Therefore, I need to use git-am -p, which fails with the following message.

fatal: git apply: bad git-diff - inconsistent new filename on line 33

Is there a code path missing in parse_git_header() to strip the
directories as requested by -p?

Please CC me. Thanks.

pmf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-24 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 18:09 git-am -p fails with new file Pierre-Marc Fournier

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 NNTP newsgroup(s).