JGit merge issue -


we have existing git repo, , tried merge 2 branches using jgit api.

below mergeresult.tostring() output:

 merge of revisions c16c719c793767b0e062790c53f7d28523cabf57, 81212b869024e95088811c5f908890720a261152 base 0000000000000000000000000000000000000000 using strategy recursive resulted in: merged-not-committed. 

it seems jgit failed detect merge base 2 branches.

however, if doing same merge directly using git command line, merge base exists.

 git merge-base --all c16c719c793767b0e062790c53f7d28523cabf57 81212b869024e95088811c5f908890720a261152 
 c16c719c793767b0e062790c53f7d28523cabf57 

don't know went wrong?


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -