2013-09-25 52 views
2

我不知道我是如何搞砸的,但現在,當在窗口中對git調用difftool時,系統會提示啓動mergetool。這是我的.gitconfig在git中,當使用difftool時,我得到mergetool而不是

[user] 
    email = [email protected] 
    name = Roger Sepúlveda 
[gui] 
    recentrepo = C:/conseres/github/pruebas/jQuery 
    encoding = utf-8 
    fontui = -family Ubuntu -size 8 -weight normal -slant roman -underline 0 -overstrike 0 
    fontdiff = -family \"Ubuntu Mono\" -size 9 -weight normal -slant roman -underline 0 -overstrike 0 
[diff] 
    textconv = fmbdifftool 
    cachetextconv = false 
[difftool "fmbdifftool"] 
    keepBackup = false 
    keepTemporaries = false 
    cmd = \"FMBDifftool.exe\" \"/$LOCAL\" \"$PWD/$BASE\" 
[merge] 
    tool = trimeld 
[mergetool "trimeld"] 
    cmd = \"/c/Archivos de programa/Meld/meld/meld.exe\" \"$PWD/$LOCAL\" \"$PWD/$MERGED\" \"$PWD/$REMOTE\" 

FMBDifftool.exe是一個C++程序,使雙星成爲基於文本的,我已經修改了它的工作原理,甚至改變了它的\「/ C/Archivos德programa/MELD/MELD/meld.exe \「,這只是融合。然而,當我使用

git difftool 

我得到提示

launch 'trimeld' [Y/n]: 

launch 'fmbdifftool' [Y/n]: 

這有什麼錯我的configuation?

回答

3
[diff] 
    textconv = fmbdifftool 
    cachetextconv = false 

這應該說是tool = dmbdifftool,而不是textconv

+0

哦,男人,我覺得很傻...謝謝! – Roger

相關問題