Re: [RFC/PoC 5/5] docbundle: provide the git-log History Simplification example
- From
Philip Oakley <philipoakley@iee.email>
- Date
- Nov 3, 2022, 19:50 UTC
- Message-ID
- <7d1a9294-2925-5bfc-31b2-9bfbdaac3e35@iee.email>
- In-Reply-To
- <221103.86r0yk1jld.gmgdl@evledraar.gmail.com>
On 03/11/2022 09:17, Ævar Arnfjörð Bjarmason wrote:
Show 15 quoted lines
> On Wed, Nov 02 2022, Philip Oakley wrote:
>
>> +note () {
>> + git tag "$1"
>> +}
> Aren't you just...
>
>> +test_expect_success setup '
>> + # get the structure set out, then the file contents
>> + echo "asdf" >foo &&
>> + echo "quux" >quux &&
>> + git add foo quux &&
>> + test_tick && git commit -m "I: Initial commit" &&
>> + note I &&
> ...re-inventing "test_commit" here (including the "echo")?Probably.
It was a bit of 'monkey coding' of an earlier test without any real study.. As you can probably tell it is just getting the spirit of the history simplification setup in place..