2016-10-05 12 views
1

サブレームテキスト3とGitパッケージを使用してレポを管理しています。私はMeldツール(メルドのv3.14.2)を使用するように設定.gitconfigファイルを持っている:私は問題なく$ git difftoolで、コマンドプロンプトから起動することができSublime Text 3 + Gitパッケージ:difftool(Meld)を起動しません

[diff] 
    external = meld 
    tool = meld 

私はgitパッケージで、Git Diff Tool Current FileGit Diff Tool Allコマンドを使って同じことをすることができました。私はこれらの2つの動作のいずれかを実行しようとすると、再インストールする崇高なテキスト3の後、サブライムの下部のウィンドウが求められます:

Viewing (1/1): 'test.py' 
Launch 'meld' [Y/n]: 

私は入力ここに任意のテキストをできない、さらに私はdidnの前にする必要はありません。私はGit Diff Current fileをしようとした場合、それはで新しいタブを開きます。

Usage: 
    meld         Iniciar con una ventana vacía 
    meld <archivo|carpeta>    Iniciar una comparación de control de versiones 
    meld <archivo> <archivo> [<archivo>] Iniciar una comparación de archivo de 2 ó 3 vías 
    meld <carpeta> <carpeta> [<carpeta>] Iniciar una comparación de carpetas de 2 ó 3 vías 

Error: too many arguments (expected 0-3, got 7) 

fatal: External Diff died, stopping at test.py 

(おおよそスペイン語から翻訳)だから、メルドへの引数が正しく渡されていないように見えます。あなたが要求しないようにgitのを設定する必要がありますように

{ 
    // save before running commands 
    "save_first": true 

    // if present, use this command instead of plain "git" 
    // e.g. "/Users/kemayo/bin/git" or "C:\bin\git.exe" 
    ,"git_command": false 

    // if present, use this command instead of plain "gitk" 
    // e.g. "/Users/kemayo/bin/gitk" or "C:\bin\gitk.exe" 
    ,"gitk_command": false 

    // point this the installation location of git-flow 
    ,"git_flow_command": "/usr/local/bin/git-flow" 

    // use the panel for diff output, rather than a new scratch window (new tab) 
    ,"diff_panel": false 

    // If you'd rather have your status command open files instead of show you a 
    // diff, set this to true. You can still do `Git: Status` followed by 
    // 'Git: Diff Current File' to get a file diff 
    ,"status_opens_file": false 

    // Use --verbose flag for commit messages 
    ,"verbose_commits": true 

    // How many commit messages to store in the history. Set to 0 to disable. 
    ,"history_size": 5 

    // Show git flow commands 
    ,"flow": false 

    // Annotations default to being on for all files. Can be slow in some cases. 
    ,"annotations": false 

    // statusbar 
    ,"statusbar_branch": true 
    // Symbols for quick git status in status bar 
    ,"statusbar_status": true 
    ,"statusbar_status_symbols" : {"modified": "≠", "added": "+", "deleted": "×", "untracked": "?", "conflicts": "‼", "renamed":"R", "copied":"C", "clean": "✓", "separator": " "} 

    // e.g. "Packages/Git/syntax/Git Commit Message.tmLanguage" 
    ,"diff_syntax": "Packages/Diff/Diff.tmLanguage" 

    // Rulers for commit view 
    ,"commit_rulers": [70] 

    // Watch for gitignore changes? 
    ,"gitignore_sync": false 
} 

答えて

3

が見える:これは私が何もユーザーのconfigsを持っていない、私のデフォルトの設定ファイルです。 .gitconfigファイルに、次のように追加します。

[difftool] 
     prompt = false 
関連する問題