git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-apply versus git-am
@ 2007-07-23  7:54 Sean Kelley
  2007-07-23  8:31 ` Alex Riesen
  2007-07-23  8:54 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Sean Kelley @ 2007-07-23  7:54 UTC (permalink / raw)
  To: git

Why doesn't git-apply include an option for a signoff line like git-am?

git-applymbox /tmp/mbox ~/.signoff

Or am I missing something?  (most likely the case!)

Sean

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

* Re: git-apply versus git-am
  2007-07-23  7:54 git-apply versus git-am Sean Kelley
@ 2007-07-23  8:31 ` Alex Riesen
  2007-07-23  8:54 ` Junio C Hamano
  1 sibling, 0 replies; 7+ messages in thread
From: Alex Riesen @ 2007-07-23  8:31 UTC (permalink / raw)
  To: Sean Kelley; +Cc: git

On 7/23/07, Sean Kelley <svk.sweng@gmail.com> wrote:
> Why doesn't git-apply include an option for a signoff line like git-am?
>
> git-applymbox /tmp/mbox ~/.signoff
>
> Or am I missing something?  (most likely the case!)
>

git apply is just a safer patch(1). They serve different purpose.

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

* Re: git-apply versus git-am
  2007-07-23  7:54 git-apply versus git-am Sean Kelley
  2007-07-23  8:31 ` Alex Riesen
@ 2007-07-23  8:54 ` Junio C Hamano
  2007-07-23 17:20   ` Timur Tabi
  1 sibling, 1 reply; 7+ messages in thread
From: Junio C Hamano @ 2007-07-23  8:54 UTC (permalink / raw)
  To: Sean Kelley; +Cc: git

"Sean Kelley" <svk.sweng@gmail.com> writes:

> Why doesn't git-apply include an option for a signoff line like git-am?
>
> git-applymbox /tmp/mbox ~/.signoff
>
> Or am I missing something?  (most likely the case!)

applymbox is going away.

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

* Re: git-apply versus git-am
  2007-07-23  8:54 ` Junio C Hamano
@ 2007-07-23 17:20   ` Timur Tabi
  2007-07-23 17:34     ` Johannes Schindelin
  2007-07-23 17:37     ` Peter Baumann
  0 siblings, 2 replies; 7+ messages in thread
From: Timur Tabi @ 2007-07-23 17:20 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Sean Kelley, git

Junio C Hamano wrote:

> applymbox is going away.

That sucks!  I like git-am.  Is there a replacement command that applies a patch and 
commits it at the same time?  If I use git-apply on a patch that adds new files, I need to 
use git-add on the files before I can commit it.  That's a real pain.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

* Re: git-apply versus git-am
  2007-07-23 17:20   ` Timur Tabi
@ 2007-07-23 17:34     ` Johannes Schindelin
  2007-07-23 17:37       ` Timur Tabi
  2007-07-23 17:37     ` Peter Baumann
  1 sibling, 1 reply; 7+ messages in thread
From: Johannes Schindelin @ 2007-07-23 17:34 UTC (permalink / raw)
  To: Timur Tabi; +Cc: Junio C Hamano, Sean Kelley, git

Hi,

On Mon, 23 Jul 2007, Timur Tabi wrote:

> Junio C Hamano wrote:
> 
> > applymbox is going away.
> 
> That sucks!  I like git-am.

Read it again.  Junio talked about applymbox, not am.

Ciao,
Dscho

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

* Re: git-apply versus git-am
  2007-07-23 17:20   ` Timur Tabi
  2007-07-23 17:34     ` Johannes Schindelin
@ 2007-07-23 17:37     ` Peter Baumann
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Baumann @ 2007-07-23 17:37 UTC (permalink / raw)
  To: Timur Tabi; +Cc: Junio C Hamano, Sean Kelley, git

On Mon, Jul 23, 2007 at 12:20:40PM -0500, Timur Tabi wrote:
> Junio C Hamano wrote:
>
>> applymbox is going away.
>
> That sucks!  I like git-am.  Is there a replacement command that applies a 
> patch and commits it at the same time?  If I use git-apply on a patch that 
> adds new files, I need to use git-add on the files before I can commit it.  
> That's a real pain.

'git am' isn't going away, but as Junio mentioned, 'git applymbox' is.
Those are two *different* programms doing roughly the same, but
'git applymbox' is superceded by 'git am'.

-Peter

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

* Re: git-apply versus git-am
  2007-07-23 17:34     ` Johannes Schindelin
@ 2007-07-23 17:37       ` Timur Tabi
  0 siblings, 0 replies; 7+ messages in thread
From: Timur Tabi @ 2007-07-23 17:37 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Junio C Hamano, Sean Kelley, git

Johannes Schindelin wrote:

> Read it again.  Junio talked about applymbox, not am.

Sorry, for some reason I thought git-am is just a shortcut for git-applymbox.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

end of thread, other threads:[~2007-07-23 17:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23  7:54 git-apply versus git-am Sean Kelley
2007-07-23  8:31 ` Alex Riesen
2007-07-23  8:54 ` Junio C Hamano
2007-07-23 17:20   ` Timur Tabi
2007-07-23 17:34     ` Johannes Schindelin
2007-07-23 17:37       ` Timur Tabi
2007-07-23 17:37     ` Peter Baumann

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