Re: [PATCH v6] Add new git-related helper to contrib
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 23, 2013, 03:23 UTC
- Message-ID
- <CAMP44s20njF9u9tRKM6J92-oqeLHoLqd30R-A7opTG7bdrTJzA@mail.gmail.com>
- In-Reply-To
- <7vzjvmh98r.fsf@alter.siamese.dyndns.org>
This doesn't make any sense:
--- cd /tmp rm -rf blame
git init blame cd blame
cp ~/dev/git/COPYING COPYING git add COPYING git commit -m initial
sed -ne 120,140p COPYING >EXTRACTING git add EXTRACTING git commit -m second
git log --oneline git blame -C EXTRACTING
echo >>COPYING git commit --amend -a --no-edit
git log --oneline git blame -C EXTRACTING ---
Why would the first instance find the blame in commit #2, and the second one at commit #1? If anything, the second instance should have more trouble finding the original commit.
-- Felipe Contreras