0

Our department deploys our test server by taking master and merging in + locally committing each branch (one branch per task). The deploy script will stop if it runs into a merge conflict, or if after merging all the tasks in, the code fails to compile.

Today we got a conflict between my branch, which changed "InspectionTemplateAction.java", and another branch which, according to the diffs shown in GitExtensions, made no changes to that file. I have tried rebranching both branches off of HEAD of master (so there's no problems from starting at different points in shared history), reverting whitespace changes, and all to no avail.

The really baffling part is that, according to GitExtensions, the other branch has never modified the conflicting file.

Is this a bug? Is there something obvious I'm missing? Are there some other troubleshooting options I can try?

9
  • The only related issue I can think of is when one branch deletes the file, the other doesn't and the ordering gets messed up.
    – Etheryte
    May 21, 2014 at 21:58
  • Good idea. But neither branch deletes the file. If the other branch deleted it, the deletion would show up in the diff.
    – Martin
    May 21, 2014 at 22:00
  • 2
    what does "rebranching" mean (that is not a git function)? probably useful to show git log path/to/file for both branches, i.e. show something specific and ask "what's wrong here when I do this, and get this output?" rather than "wrong! something! <arm gestures> why?" =)
    – AD7six
    May 27, 2014 at 8:04
  • 2
    git merge shows exactly what causes it to report a conflict. Post the actual conflict, please.
    – jthill
    May 27, 2014 at 23:35
  • 7
    It seems we can't vote to close a question with an open bounty. I don't see any way to solve this without providing the information multiple people have requested and addressing the issues multiple people have pointed out, so I'm downvoting this for nonresponsiveness, for being an idle complaint rather than a question.
    – jthill
    May 28, 2014 at 17:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.