Re: git checkout --theirs fails

2016-03-19 Thread Phil Susi
On 3/15/2016 5:47 PM, Junio C Hamano wrote: > would fail when the path file/name is unmerged and does not have > stage #3 entry, wouldn't it? So with ".", unless all paths that > match that pathspec (i.e. all available files) are either merged > (i.e. without conflict) or have stage #3 entry, it

git checkout --theirs fails

2016-03-15 Thread Phil Susi
I'm doing a rebase and got some conflicts. I just want to take their version of all files, but git checkout --theirs complains: --ours/--theirs' cannot be used with switching branches What gives? I'm not *trying* to switch branches. I just want to resolve the conflict by taking their version.

Re: Compare two diffs on the command line?

2015-09-04 Thread Phil Susi
On 9/4/2015 2:10 PM, Junio C Hamano wrote: On Fri, Sep 4, 2015 at 11:00 AM, Phil Susi <ps...@ubuntu.com> wrote: If you have a commit that exists on two branches, in gitk you can mark one, then select the other and choose to compare the two. This results in a diff of the two diffs, rathe

Compare two diffs on the command line?

2015-09-04 Thread Phil Susi
If you have a commit that exists on two branches, in gitk you can mark one, then select the other and choose to compare the two. This results in a diff of the two diffs, rather than a diff between the two trees, which include many other changes that have nothing to do with either commit. Is

Merge after rename

2015-07-09 Thread Phil Susi
I'm trying to cherry pick an old change from an old branch onto the current master, and since the old change, the directory structure was altered and the modified files were moved. Instead of detecting the new location of the file and applying the changes to it, git is re-adding the old file

git-repack keeps running out of memory

2015-06-01 Thread Phil Susi
I keep having git-repack run out of virtual memory ( 32 bit system ) when trying to repack my linux kernel repo. It keeps making it right up to 99% then barfing saying mmap failed: Cannot allocate memory. I thought I could help this by limiting the pack size, and using --window-memory to

Re: git-repack keeps running out of memory

2015-06-01 Thread Phil Susi
On 6/1/2015 2:43 PM, Junio C Hamano wrote: Phil Susi ps...@ubuntu.com writes: I keep having git-repack run out of virtual memory ( 32 bit system ) when trying to repack my linux kernel repo. It keeps making it right up to 99% then barfing saying mmap failed: Cannot allocate memory. I thought

What happened to having to recover from upstream rebase?

2015-05-11 Thread Phil Susi
So it used to be that when upstream rebased, you'd get an error when you tried to pull again and have to fix things up with some git reset or rebase hackery. Trying to demo this today I found that the pull *worked*, using an automatic recursive merge. Am I crazy in thinking this used to