Re: [PATCH/WIP] Repair DF conflicts during fetch.

2013-12-01 Thread Thomas Miller
On Fri, Nov 29, 2013 at 1:07 PM, Thomas Rast wrote: > Tom Miller writes: > >> When a DF conflict occurs during a fetch, --prune should be able to fix >> it. When fetching with --prune, the fetching process happens before >> pruning causing the DF conflict to persist and report an error. This >> p

Re: [PATCH/WIP] Repair DF conflicts during fetch.

2013-11-29 Thread Thomas Rast
Tom Miller writes: > When a DF conflict occurs during a fetch, --prune should be able to fix > it. When fetching with --prune, the fetching process happens before > pruning causing the DF conflict to persist and report an error. This > patch prunes before fetching, thus correcting DF conflicts du

[PATCH/WIP] Repair DF conflicts during fetch.

2013-11-29 Thread Tom Miller
When a DF conflict occurs during a fetch, --prune should be able to fix it. When fetching with --prune, the fetching process happens before pruning causing the DF conflict to persist and report an error. This patch prunes before fetching, thus correcting DF conflicts during a fetch. Signed-off-by:

[PATCH/WIP] Repair DF conflicts during fetch.

2013-11-29 Thread Tom Miller
I encountered a directory/file conflict when running `git fetch --prune origin`. I figured passing --prune would automatically fix DF conflicts. After looking in the code I found that prune is called after fetching. It seemed to be intentional according historical commits. I made this patch to cha