Andy Whitcroft wrote:Both git log and git diff follows renames (with -M) and even copies (with -C), but path _limiter_ doesn't follow renames. There is proposal to add --follow option to git rev-list to follow specified paths. There was a patch adding this option here on git mailing list (check archives), not added because it was fairly intrusive and not complete solution IIRC. I'd say that the second part is _partially_ supported, as we can follow history of renamed file with pathlimit, detect that file was renamed, and follow using previous name as pathlimit. For example if you know all the names the file had through history, you can get whole history providing all those names as pathlimit (well, unless there is some conflict like creating new file with the same name as file before rename; something that all file-id based solutions have problem with). -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Peter Zijlstra | [RFC][PATCH 7/7] lockdep: spin_lock_nest_lock() |
| Gabriel C | Re: 2.6.24-rc2-mm1 |
| Andrew Morton | Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP |
| Jiri Kosina | Re: 2.6.21-rc5-mm4 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
