Problem Following file history through sub-tree import

2016-06-22 Thread Crabtree, Andrew
Having difficulty understanding how to invoke 'git log' to track the history of a file that was imported into a different location through a subtree merge. I had thought just '--follow' was needed, but I don't seem to be getting any results with that. Example below. Thanks! ~Andrew git --ver

Plumbing version of 'git branch --contains' ?

2014-10-22 Thread Crabtree, Andrew
I need to get a list of refs that can reach a certain SHA in in a script. git branch --contains SHA would be great (runs in ~2 seconds), but not my preferred option for scripting. I tried for br in $(git for-each-ref --format='%(refname:short)' refs/heads/) do git merge-base --is-ancestor

RE: Performance Issues with Git Rebase

2014-10-13 Thread Crabtree, Andrew
10:26 AM > To: Crabtree, Andrew > Cc: git@vger.kernel.org > Subject: Re: Performance Issues with Git Rebase > > "Crabtree, Andrew" writes: > > > I'm getting the same output with both the triple and double dot for my > > specific case, but I have no ide

Performance Issues with Git Rebase

2014-10-11 Thread Crabtree, Andrew
I have what appears to be a fairly straightforward rebase operation and I can't figure out why it seems to effectively hang 'git rebase'. I have a handful of commits that I made last summer and haven't touched since. I'm trying to rebase them against latest on upstream. git status On branch gi

Problem with Git rev-list output

2014-08-11 Thread Crabtree, Andrew
I'm seeing some oddity in one of my repositories where the root commit is being output in 'rev-list' even when I pass in a reference that should exclude it from being output. I've attempted to reproduce the issue in a test environment but so far have failed at that. Problem details below as be