Re: [RFC/PoC 5/5] docbundle: provide the git-log History Simplification example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/11/2022 09:17, Ævar Arnfjörð Bjarmason wrote:
> 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..




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux