Re: [PATCH 09/18] t5304: use "reflog expire --all" to clear the reflog
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Apr 21, 2021, 06:13 UTC
- Message-ID
- <87v98g413h.fsf@evledraar.gmail.com>
- In-Reply-To
- <ba575839e422dfe241f7b567de14c10ec648f2e3.1618829583.git.gitgitgadget@gmail.com>
On Mon, Apr 19 2021, Han-Wen Nienhuys via GitGitGadget wrote:
Show 20 quoted lines
> From: Han-Wen Nienhuys <hanwen@google.com> > > This is more explicit, and reduces the depency between test functions. It also > is more amenable to use with reftable, which has no concept of (non)existence of > a reflog > > Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> > --- > t/t5304-prune.sh | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh > index b447ce56a9b2..4ffc0076801e 100755 > --- a/t/t5304-prune.sh > +++ b/t/t5304-prune.sh > @@ -94,26 +94,22 @@ test_expect_success 'prune: prune nonsense parameters' ' > ' > > test_expect_success 'prune: prune unreachable heads' ' > -
Similar to a previous comments, a few tests in that file use this whitespacing. I'd say let's just leave it alone unlress we're doing some whitespace-only commit earlier.
> git config core.logAllRefUpdates false && > - mv .git/logs .git/logs.old && > : > file2 &&
Also, if we're re-styling things: ">foo" instead of ": >foo".