[Top][All Lists]

[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: James Blackwell
Subject: Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes
Date: Thu, 13 May 2004 14:51:52 -0400

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.


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

> Done with tla-1.2-3.
> Bye Robert
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> GNU arch home page:

James Blackwell          Please do not send me carbon copies of mailing
Smile more!              list posts. Such mail is unsolicited. Thank you!

GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400

reply via email to

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