[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: |
Stefan Monnier |
Subject: |
Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes |
Date: |
14 May 2004 20:14:07 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> For scripts, you'd want to use
>> `tla changes -o foo', then check whether `foo' is empty, and if not
>> do `tla commit foo'. Or something along those lines.
> For scripts, you should use `tla changes -q', and check the exit status.
But that means in the common case, you do `tla changes -q' and then
`tla commit': overall you do 2 full traversal of your tree, thus you just
slowed down this operation by a factor of 2.
I already find it to be les than speed of light, so I'd rather avoid
an aditional factor of 2 just to detect the rare case where there
were no changes made.
Stefan
- 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, Julian T. J. Midgley, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Aaron Bentley, 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/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Aaron Bentley, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Colin Walters, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Aaron Bentley, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, James Blackwell, 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, Stefan Monnier, 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,
Stefan Monnier <=
- 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, Stefan Monnier, 2004/05/14
- 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, Tom Lord, 2004/05/14
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Wazow, 2004/05/21
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Aaron Bentley, 2004/05/21
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, James Blackwell, 2004/05/21
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Adrian Irving-Beer, 2004/05/21
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, Sriram Ramkrishna, 2004/05/23
- Re: [Gnu-arch-users] "tla commit" generates a patch-set even if there are no changes, James Blackwell, 2004/05/23