git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Confused about recovering from a merge conflict
@ 2008-05-14 15:59 D. Stuart Freeman
  2008-05-29 16:49 ` Chris Ortman
  0 siblings, 1 reply; 4+ messages in thread
From: D. Stuart Freeman @ 2008-05-14 15:59 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]

I've made some local modifications and want to 'git svn dcommit' them so
I 'git svn rebase' first:

 $ git svn rebase
 First, rewinding head to replay your work on top of it...
 HEAD is now at cdef7ac Cleanup of new assignment screens
 Applying Cleanup new assignment screens
 error: tool/src/webapp/content/css/thickbox.css: does not match index
 error: patch failed:
tool/src/webapp/content/templates/newassignment1.html:6
 error: tool/src/webapp/content/templates/newassignment1.html: patch
does not apply
 Using index info to reconstruct a base tree...
 Falling back to patching base and 3-way merge...
 error: Entry 'tool/src/webapp/content/css/thickbox.css' not uptodate.
Cannot merge.
 fatal: merging of trees aa2dad90c89e9063f2a8002e4b5a11f6b1583955 and
6535ebaaebf
 fdaadd44a93bc1fc4a66a5ec4dcf4 failed
 Failed to merge in the changes.
 Patch failed at 0001.

 When you have resolved this problem run "git rebase --continue".
 If you would prefer to skip this patch, instead run "git rebase --skip".
 To restore the original branch and stop rebasing run "git rebase --abort".

 rebase refs/remotes/iteration_5: command returned error: 1

Uh-oh, now I appear to be on 'no branch' and the contents of
thickbox.css aren't marked up with the conflict markers, it appears to
just be the old file without my revisions.  Did I do something wrong?
How do I recover from this state?

-- 
D. Stuart Freeman
Georgia Institute of Technology

[-- Attachment #2: stuart_freeman.vcf --]
[-- Type: text/x-vcard, Size: 162 bytes --]

begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Confused about recovering from a merge conflict
  2008-05-14 15:59 Confused about recovering from a merge conflict D. Stuart Freeman
@ 2008-05-29 16:49 ` Chris Ortman
  2008-05-29 19:48   ` D. Stuart Freeman
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Ortman @ 2008-05-29 16:49 UTC (permalink / raw)
  To: stuart.freeman, git

I am also running into this problem.
Are you running windows+cygwin or git on linux?
I am on XPSP2 and cygwin

On Wed, May 14, 2008 at 10:59 AM, D. Stuart Freeman
<stuart.freeman@et.gatech.edu> wrote:
> I've made some local modifications and want to 'git svn dcommit' them so
> I 'git svn rebase' first:
>
>  $ git svn rebase
>  First, rewinding head to replay your work on top of it...
>  HEAD is now at cdef7ac Cleanup of new assignment screens
>  Applying Cleanup new assignment screens
>  error: tool/src/webapp/content/css/thickbox.css: does not match index
>  error: patch failed:
> tool/src/webapp/content/templates/newassignment1.html:6
>  error: tool/src/webapp/content/templates/newassignment1.html: patch
> does not apply
>  Using index info to reconstruct a base tree...
>  Falling back to patching base and 3-way merge...
>  error: Entry 'tool/src/webapp/content/css/thickbox.css' not uptodate.
> Cannot merge.
>  fatal: merging of trees aa2dad90c89e9063f2a8002e4b5a11f6b1583955 and
> 6535ebaaebf
>  fdaadd44a93bc1fc4a66a5ec4dcf4 failed
>  Failed to merge in the changes.
>  Patch failed at 0001.
>
>  When you have resolved this problem run "git rebase --continue".
>  If you would prefer to skip this patch, instead run "git rebase --skip".
>  To restore the original branch and stop rebasing run "git rebase --abort".
>
>  rebase refs/remotes/iteration_5: command returned error: 1
>
> Uh-oh, now I appear to be on 'no branch' and the contents of
> thickbox.css aren't marked up with the conflict markers, it appears to
> just be the old file without my revisions.  Did I do something wrong?
> How do I recover from this state?
>
> --
> D. Stuart Freeman
> Georgia Institute of Technology
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Confused about recovering from a merge conflict
  2008-05-29 16:49 ` Chris Ortman
@ 2008-05-29 19:48   ` D. Stuart Freeman
  2008-05-30 13:42     ` Chris Ortman
  0 siblings, 1 reply; 4+ messages in thread
From: D. Stuart Freeman @ 2008-05-29 19:48 UTC (permalink / raw)
  To: Chris Ortman; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]

It was actually my boss that ran into this, he's using msysgit on XP.
I'm not sure what service pack.

Chris Ortman wrote:
> I am also running into this problem.
> Are you running windows+cygwin or git on linux?
> I am on XPSP2 and cygwin
> 
> On Wed, May 14, 2008 at 10:59 AM, D. Stuart Freeman
> <stuart.freeman@et.gatech.edu> wrote:
>> I've made some local modifications and want to 'git svn dcommit' them so
>> I 'git svn rebase' first:
>>
>>  $ git svn rebase
>>  First, rewinding head to replay your work on top of it...
>>  HEAD is now at cdef7ac Cleanup of new assignment screens
>>  Applying Cleanup new assignment screens
>>  error: tool/src/webapp/content/css/thickbox.css: does not match index
>>  error: patch failed:
>> tool/src/webapp/content/templates/newassignment1.html:6
>>  error: tool/src/webapp/content/templates/newassignment1.html: patch
>> does not apply
>>  Using index info to reconstruct a base tree...
>>  Falling back to patching base and 3-way merge...
>>  error: Entry 'tool/src/webapp/content/css/thickbox.css' not uptodate.
>> Cannot merge.
>>  fatal: merging of trees aa2dad90c89e9063f2a8002e4b5a11f6b1583955 and
>> 6535ebaaebf
>>  fdaadd44a93bc1fc4a66a5ec4dcf4 failed
>>  Failed to merge in the changes.
>>  Patch failed at 0001.
>>
>>  When you have resolved this problem run "git rebase --continue".
>>  If you would prefer to skip this patch, instead run "git rebase --skip".
>>  To restore the original branch and stop rebasing run "git rebase --abort".
>>
>>  rebase refs/remotes/iteration_5: command returned error: 1
>>
>> Uh-oh, now I appear to be on 'no branch' and the contents of
>> thickbox.css aren't marked up with the conflict markers, it appears to
>> just be the old file without my revisions.  Did I do something wrong?
>> How do I recover from this state?
>>
>> --
>> D. Stuart Freeman
>> Georgia Institute of Technology
>>


-- 
D. Stuart Freeman
Georgia Institute of Technology

[-- Attachment #2: stuart_freeman.vcf --]
[-- Type: text/x-vcard, Size: 162 bytes --]

begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Confused about recovering from a merge conflict
  2008-05-29 19:48   ` D. Stuart Freeman
@ 2008-05-30 13:42     ` Chris Ortman
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Ortman @ 2008-05-30 13:42 UTC (permalink / raw)
  To: stuart.freeman, git

I wonder if it has to do with windows just sucking at disk access?
I am getting some other weirdness like dirty index even though nothing
shows up with git status and after doing a git reset --hard HEAD

On Thu, May 29, 2008 at 2:48 PM, D. Stuart Freeman
<stuart.freeman@et.gatech.edu> wrote:
> It was actually my boss that ran into this, he's using msysgit on XP.
> I'm not sure what service pack.
>
> Chris Ortman wrote:
>> I am also running into this problem.
>> Are you running windows+cygwin or git on linux?
>> I am on XPSP2 and cygwin
>>
>> On Wed, May 14, 2008 at 10:59 AM, D. Stuart Freeman
>> <stuart.freeman@et.gatech.edu> wrote:
>>> I've made some local modifications and want to 'git svn dcommit' them so
>>> I 'git svn rebase' first:
>>>
>>>  $ git svn rebase
>>>  First, rewinding head to replay your work on top of it...
>>>  HEAD is now at cdef7ac Cleanup of new assignment screens
>>>  Applying Cleanup new assignment screens
>>>  error: tool/src/webapp/content/css/thickbox.css: does not match index
>>>  error: patch failed:
>>> tool/src/webapp/content/templates/newassignment1.html:6
>>>  error: tool/src/webapp/content/templates/newassignment1.html: patch
>>> does not apply
>>>  Using index info to reconstruct a base tree...
>>>  Falling back to patching base and 3-way merge...
>>>  error: Entry 'tool/src/webapp/content/css/thickbox.css' not uptodate.
>>> Cannot merge.
>>>  fatal: merging of trees aa2dad90c89e9063f2a8002e4b5a11f6b1583955 and
>>> 6535ebaaebf
>>>  fdaadd44a93bc1fc4a66a5ec4dcf4 failed
>>>  Failed to merge in the changes.
>>>  Patch failed at 0001.
>>>
>>>  When you have resolved this problem run "git rebase --continue".
>>>  If you would prefer to skip this patch, instead run "git rebase --skip".
>>>  To restore the original branch and stop rebasing run "git rebase --abort".
>>>
>>>  rebase refs/remotes/iteration_5: command returned error: 1
>>>
>>> Uh-oh, now I appear to be on 'no branch' and the contents of
>>> thickbox.css aren't marked up with the conflict markers, it appears to
>>> just be the old file without my revisions.  Did I do something wrong?
>>> How do I recover from this state?
>>>
>>> --
>>> D. Stuart Freeman
>>> Georgia Institute of Technology
>>>
>
>
> --
> D. Stuart Freeman
> Georgia Institute of Technology
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-30 13:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 15:59 Confused about recovering from a merge conflict D. Stuart Freeman
2008-05-29 16:49 ` Chris Ortman
2008-05-29 19:48   ` D. Stuart Freeman
2008-05-30 13:42     ` Chris Ortman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).