Thread (12 messages) flat view 12 messages, 6 authors, 2016-06-15

Re: being nice to patch(1)

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:19

Hi,

On Tue, 3 Jul 2007, Paolo Ciarrocchi wrote:
On 7/3/07, Johannes Schindelin [off-list ref] wrote:
quoted
Hi,
On Mon, 2 Jul 2007, Linus Torvalds wrote:
quoted
On Mon, 2 Jul 2007, Junio C Hamano wrote:
quoted
Linus Torvalds [off-list ref] writes:
quoted
So I would suggest that in quilt and other systems, you either:

 - strip all headers manually

 - forget about "patch", and use "git-apply" instead that does things
   right and doesn't screw up like this (and can do rename diffs etc
too).
quoted
quoted
quoted
I guess the second choice generally isn't an option, but dammit,
"git-apply" really is the better program here.
Why not?  git-apply works outside of a git repo ;-)
I was more thinking that people are not necessarily willing to install
git
quoted
just to get the "git-apply" program..
But maybe they would be willing to install git to get that wonderful
git-apply program, and that wonderful rename-and-mode-aware git-diff, and
the git-merge-file program, all of which can operate outside of a git
repository. (Take that, hg!)
How about shipping just these commands as a separate package?
Is that a cray idea?
Heh, all three programs are "builtins", which means that you get almost 
the whole package of git anyway ;-)

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help