git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should cg-mkpatch output be usable with cg-patch?
@ 2005-07-20 23:49 Wolfgang Denk
  2005-07-21  3:57 ` Junio C Hamano
  2005-07-22 21:03 ` Petr Baudis
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2005-07-20 23:49 UTC (permalink / raw)
  To: git

I wander what I should do with "cg-mkpatch" generated output;  I  had
the  impression that this should be usable with "cg-patch", but these
are incompatible with each other. Forexample. if  a  commit  contains
permission changes, my generated patch may look like this:

	...
	diff --git a/MAKEALL b/MAKEALL
	old mode 100644
	new mode 100755
	diff --git a/mkconfig b/mkconfig
	old mode 100644
	new mode 100755
	diff --git a/tools/img2brec.sh b/tools/img2brec.sh
	old mode 100644
	new mode 100755
	...

If I feed this into "cg-patch", I get:

	patch: **** Only garbage was found in the patch input.

-> rpm -q cogito
cogito-0.12.1-1


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I really hate this damned machine     It never does quite what I want
I wish that they would sell it.              But only what I tell it.

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

end of thread, other threads:[~2005-07-24 22:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-20 23:49 Should cg-mkpatch output be usable with cg-patch? Wolfgang Denk
2005-07-21  3:57 ` Junio C Hamano
2005-07-22 21:02   ` Petr Baudis
2005-07-22 21:03 ` Petr Baudis
2005-07-24 17:50   ` Wolfgang Denk
2005-07-24 22:48     ` Petr Baudis

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