[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: |
William Dode |
Subject: |
Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes |
Date: |
Fri, 14 May 2004 16:51:26 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Aaron Bentley <address@hidden> writes:
> Julian T. J. Midgley wrote:
>>> Perhaps you could explain why the defaults are unwise? What's the
>>> harm in an accidental empty commit, aside from a little
>>> embarassment?
>> Conversely, perhaps you could explain the benefits? So far, I see
>> none (provided --force is available to allow the commit when it is
>> needed).
>
> The harm comes from changing the default behavior. I have scripts
> that I run from cron that would be broken by that change. tla isn't
> very user-friendly. Scripts can make it smoother. Let's not make tla
> script-unfriendly too.
>
>> Why not go the whole hog and permit people to commit with empty log files?
>
> tla does permit people to commit with empty log files. Try "tla
> make-log; tla commit".
>
> The case where it doesn't permit empty log files is the case where you
> commit with no log file at all. There are two obvious cases why you
> might commit with no log:
>
> 1. You want commit to run $($EDITOR $(tla make-log)) for you.
> 2. You invoked commit in the wrong directory.
>
> In the second case, the user can abort the process when they see the
> empty log by quitting. Othewise, they're stuck.
What about blocking commit if there is no change AND the log-message is
identical to the last one ?
--
William Dodé - http://flibuste.net
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, (continued)
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Aaron Bentley, 2004/05/25
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Tom Lord, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Miles Bader, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Julian T. J. Midgley, 2004/05/16
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Tom Lord, 2004/05/17
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, mlh, 2004/05/17
- [Gnu-arch-users] Re: "tla commit" generates a patch-set even if there are no changes, Neil Stevens, 2004/05/17
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Tom Lord, 2004/05/19
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Tom Lord, 2004/05/17
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Christopher Dale, 2004/05/18
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes,
William Dode <=
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, James Blackwell, 2004/05/13
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Julian T. J. Midgley, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Charles Duffy, 2004/05/17
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Robert Widhopf-Fenk, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, James Blackwell, 2004/05/14