Re: RCS Keywords in Git done right

2014-12-02 Thread Derek Moore
PPS: Sounds like I need Peff's git-blame-tree from here: https://github.com/peff/git/compare/jk/faster-blame-tree -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htm

Re: RCS Keywords in Git done right

2014-12-02 Thread Derek Moore
> My current approach is: > 1) find files common between @ & @{-1}, "ls-tree --full-tree > --name-only -r" both branches, take the intersection > 2) find current branch's commits for common files, for each file in > intersection "log -1 --format=%H $current_branch -- $file" > 3) find common files w

Re: RCS Keywords in Git done right

2014-12-02 Thread Derek Moore
I've finished testing this work in larger repositories. While the approach is performant and works nicely in small repos, but in larger repos one of the requirements for the "correctness" of substitutions slows things down (1 or 2 minutes to perform checkouts between branches with 10,000+ files).

Re: RCS Keywords in Git done right

2014-11-26 Thread Stefan Beller
On Wed, Nov 26, 2014 at 11:22 AM, Derek Moore wrote: >> Now knowing the edge cases won't work, I did not get an idea about the >> standard case of what should work with this. Would you mind to write >> a more detailed example or a more advertising paragraph of what this can do? >> Not getting the

Re: RCS Keywords in Git done right

2014-11-26 Thread Derek Moore
> Now knowing the edge cases won't work, I did not get an idea about the > standard case of what should work with this. Would you mind to write > a more detailed example or a more advertising paragraph of what this can do? > Not getting the big picture may be related to me having not worked with RC

Re: RCS Keywords in Git done right

2014-11-26 Thread Stefan Beller
On Wed, Nov 26, 2014 at 8:44 AM, Derek Moore wrote: > Junio, et al., > > I've completed my first pass at RCS Keywords in Git. I believe I've > come up with a solution that is accurate, performant and complete (but > I have not tested it on big repos yet, I'm doing that today...). > > https://githu

RCS Keywords in Git done right

2014-11-26 Thread Derek Moore
Junio, et al., I've completed my first pass at RCS Keywords in Git. I believe I've come up with a solution that is accurate, performant and complete (but I have not tested it on big repos yet, I'm doing that today...). https://github.com/derekm/git-keywords This work basically takes advantage of