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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -