git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Should cg-mkpatch output be usable with cg-patch?

From
WDWolfgang Denk <wd@denx.de>
Date
Jul 24, 2005, 17:50 UTC
Message-ID
<20050724175018.3D721352B73@atlas.denx.de>
In-Reply-To
<20050722210352.GG11916@pasky.ji.cz>
In message <20050722210352.GG11916@pasky.ji.cz> you wrote:
Show 6 quoted lines
>
> > 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.
> 
> They certainly aren't.
Is this a problem with the current implementation, or intentional?
Show 8 quoted lines
> > 	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.
> 
> And did the changes apply? :-)
No, they did not. No file modes were changed.
> The message is surely confusing, but appeared to be rather corner-casy
> and after I imagined the required complexity of filtering this, I
> decided to spend my time on something more useful for the time being. :)

I don't think this is a corner case. I think it is pretty important to be able to promote permissiong changes.

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
Too many people are ready to carry the stool when the piano needs  to
be moved.
Previous: Petr BaudisNext: Petr Baudis
Message 5 of 6 in “Should cg-mkpatch output be usable with cg-patch?”
  1. Wolfgang DenkJul 20, 2005
  2. Junio C HamanoJul 21, 2005
  3. Petr BaudisJul 22, 2005
  4. Petr BaudisJul 22, 2005
  5. Wolfgang DenkJul 24, 2005
  6. Petr BaudisJul 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.