gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there ar


From: Robert Widhopf-Fenk
Subject: Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes
Date: Thu, 13 May 2004 21:55:32 +0200

On Thursday, May 13, 2004 at 14:51:52, James Blackwell wrote:
> In lists.arch.users, you wrote:
> > Hello,
> >
> > another oddity.
> >
> > When calling "tla commit" without changes in the tree it
> > still will create a patch set.
> 
> Correct.
> 
> >
> > IMHO it should complain that there are no changes and
> > exit(-1), what it it good for generating an empty
> > patch-set.  (o.k. there is a log in the patch-set but
> > nothing else ;-/)
> 
> Not so. :) 
> 
> Here's two reasons: 
> 
> 1. This provides a mechanism for adding a note to the patchlogs
>    without having to make a nonsense patch. (For example, 'blaming')
> 
> 2. If you get stuck in a position where you need to
>    cacherev, but you don't have any code that you actually
>    need to change, you can do an 'empty commit' to push a
>    cacherev to a mirror.

O.k. while this sounds reasonable to me I still think those
two are not the default situation and I would prefer being
asked before unless I use a --force switch.

Robert






reply via email to

[Prev in Thread] Current Thread [Next in Thread]