Re: [PATCH 5/9] t1508 (at-combinations): document @{N} versus HEAD@{N}
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 2, 2013, 17:30 UTC
- Message-ID
- <CALkWK0n9dOrn_whASyWnx49zwNZV_z-4mstyorN1DTSfKpzfsg@mail.gmail.com>
- In-Reply-To
- <CAMP44s1Hkff1QU7undZvLfFOCeeiBrB4RRtVEOoNCsfoGZu7yg@mail.gmail.com>
Felipe Contreras wrote:
Show 9 quoted lines
>> +test_expect_success 'switch to old-branch' '
>> + git checkout old-branch
>> +'
>> +
>> +check HEAD refs/heads/old-branch
>> +check "HEAD@{1}" commit new-two
>> +check "@{1}" commit old-one
>
> And here we are testing something completely different.How? I'm showing that HEAD@{1} can be different from @{1}.