All of lore.kernel.org
 help / color / mirror / Atom feed
* git apply --directory broken for new files
@ 2008-09-25 20:41 H. Peter Anvin
  2008-09-27  1:54 ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: H. Peter Anvin @ 2008-09-25 20:41 UTC (permalink / raw)
  To: Git Mailing List

Trying with git 1.6.0.1:

: tazenda 124 ; git apply --directory=gpxe/ < /tmp/diff
fatal: git-apply: bad git-diff - inconsistent new filename on line 105

Line 105 in the diff is:

    101  diff --git a/src/arch/i386/firmware/pcbios/fakee820.c 
b/src/arch/i386/firmware/pcbios/fakee820.c
    102  new file mode 100644
    103  index 0000000..e171edf
    104  --- /dev/null
    105  +++ b/src/arch/i386/firmware/pcbios/fakee820.c

What I'm trying to do here is to apply a diff created via "git diff" to 
a subdirectory of another git repository.

	-hpa

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

end of thread, other threads:[~2008-10-12  6:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 20:41 git apply --directory broken for new files H. Peter Anvin
2008-09-27  1:54 ` Jeff King
2008-10-12  3:18   ` Junio C Hamano
2008-10-12  4:06     ` Jeff King
2008-10-12  6: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.