Re: Incorrect git-blame result if I use full path to file
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 3, 2007, 02:40 UTC
- Message-ID
- <7v4pf0sdp7.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20071203022729.GD8322@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> IOW, it's not intended for users to use absolute paths in this way. > However, the results for git-blame are obviously quite confusing. It > might be worth fixing, but I suspect there are many more such traps > waiting in other commands. I wonder if it would make sense to reject > pathspecs starting with '/' entirely, which would at least give us a > saner error message (and I can't think of a time when such a pathspec > would be useful)?
All correct, except...
> Even more useful would be to convert > /path/to/repo/file to 'file' internally.
... that might help "cut & paste from file manager" people, and I think we had comment session for such a patch recently on the list.
Sorry, but I lost track of that the current status of that patch. Did it die?