meld

Git difftool not opening sometimes

我只是一个虾纸丫 提交于 2019-12-10 23:59:47
问题 I have 2 folders (with different code) with git initialized. But when I do git difftool -t meld one repo is working fine and asking me if I want to open files in meld to compare. The other one just output everything in the console and didn't execute meld. Also both .git/config file is the same (except for the url) Does anyone know why is that? 回答1: If in one repository you're in conflicted state (check by git status ), you need to use mergetool instead, e.g. git mergetool -t meld Related: git

External git difftool is not working on windows

℡╲_俬逩灬. 提交于 2019-12-10 18:43:38
问题 I'm struggling with git for many ours and have read almost all topics taged by "git", "diff" etc. and tried hundred of different solutions, but did not succeeded at all. I'm trying to set sum external difftool (Meld, p4merge) as my git tool, BUT git ignoring this option at all. Here is my git config --global . [alias] st = status co = checkout ci = commit [diff] tool = p4merge [difftool "p4merge"] cmd = p4merge.exe $LOCAL $REMOTE [difftool] prompt = false [merge] tool = p4merge [mergetool

View changes from “git log -p” in “difftool”

∥☆過路亽.° 提交于 2019-12-08 19:18:14
问题 I'm getting branch changes for review by using git log -p master..newbranch , but it just gives me diff file. How can I view this diff with external tool like meld? I want to see what was changed only in this specific branch (from branch start to tip). 回答1: Okay, I've found it's done like this: git difftool --dir-diff master...newbranch 来源: https://stackoverflow.com/questions/17048558/view-changes-from-git-log-p-in-difftool

meld on OS X 10.7 doesn't work?

核能气质少年 提交于 2019-12-08 16:17:54
问题 I'm installing meld on Mac OS using port. It has downloaded all dependencies and told that everything is ok: Staging meld into destroot Installing meld @1.5.3_0 Activating meld @1.5.3_0 Cleaning meld Updating database of binaries: 100.0% Scanning binaries for linking errors: 100.0% No broken files found. but when I run: [18:28:24]~$ meld Traceback (most recent call last): File "/opt/local/bin/meld", line 75, in <module> locale.setlocale(locale.LC_ALL,'') File "/opt/local/Library/Frameworks

Git running Meld as merge tool fails 'check_requirements import gi'

六月ゝ 毕业季﹏ 提交于 2019-12-07 17:45:39
问题 Error while trying to merge conflicting files: As version control I use git and I call Meld in order to merge conflicting files. (As IDE I use Qt creator, but I do not think it can be the problem). I do not understand why the merge procedure fails, because different times this procedure was used in order to merge the projects (the remote and the local one). 回答1: The gi module runs, except it fails to find the GTK DLL: --------------------------- cx_Freeze: Python error in main script --------

Git Directory Diff does not work in my submodule

孤街浪徒 提交于 2019-12-07 08:55:05
问题 I am using Git 1.8.4 and Linux (Kubuntu 13.10). I have a Git repository with submodules. If I ask for directory diff in the main Git module, it works fine. If I do the same in one of the submodules, I get an error: ~/Projects/MAINMODULE/platform/SUBMODULE [master]$ git difftool -tool=meld --dir-diff --cached fatal: Could not switch to '../../../../platform/': No such file or directory diff --raw --no-abbrev -z --cached: command returned error: 128 ~/Projects/MAINMODULE/platform/SUBMODULE

meld - gi._glib.GError: Icon 'meld-change-apply-right' not present in theme. What is wrong with the installation?

十年热恋 提交于 2019-12-06 20:58:03
问题 I have managed to install the meld 3.14.2 and all the dependency packages, by compiling each package from source and all are installed on a NFS share with --prefix=<base>/meld for the meld tool && --prefix=<base>/meld/deps for the dependencies. Finally, I invoked the tool and I can see the GUI. But when I try to do some functionality testing, it throws me errors. I have never used the tool. So, I don't know how it is supposed to work exactly. But users have pointed out the following error,

显示两个修订版之间已更改的文件

喜夏-厌秋 提交于 2019-12-06 12:15:37
我想合并两个已分开一段时间的分支,并想知道哪些文件已被修改。 看到这个链接: http : //linux.yyz.us/git-howto.html 这非常有用。 比较我遇到的分支的工具是: git diff master..branch git log master..branch git shortlog master..branch 想知道是否有类似“git status master..branch”的东西只能看到两个分支之间不同的文件。 在没有创建新工具的情况下,我认为这是您现在可以做到的最接近的工具(如果文件被多次修改,当然会显示重复): git diff master..branch | grep "^diff" 想知道是否有我遗漏的东西...... #1楼 还要记住,git具有便宜且易于分支的特点。 如果我认为合并可能有问题,我会为合并创建一个分支。 因此,如果 master 有我想要合并的更改, ba 是我需要master的代码的分支,我可能会执行以下操作: git checkout ba git checkout -b ba-merge git merge master .... review new code and fix conflicts.... git commit git checkout ba git merge ba-merge git

Can Meld comparison output be exported to a file?

不羁的心 提交于 2019-12-05 12:47:00
问题 I've been using Meld to compare directories recursively. I want to know how to export the comparison result onto a new file. Meld is a visual tool but is there any way I can save the comparison? 回答1: As of version 3.18.0 this is not a supported feature. You can see the advertised features here. If you dig into the code, an UI option to save content (and subsequent implementation) is only present in data/ui/filediff.ui and not in data/ui/dirdiff.ui . This means comparison output can only be

Git Directory Diff does not work in my submodule

拜拜、爱过 提交于 2019-12-05 11:57:08
I am using Git 1.8.4 and Linux (Kubuntu 13.10). I have a Git repository with submodules. If I ask for directory diff in the main Git module, it works fine. If I do the same in one of the submodules, I get an error: ~/Projects/MAINMODULE/platform/SUBMODULE [master]$ git difftool -tool=meld --dir-diff --cached fatal: Could not switch to '../../../../platform/': No such file or directory diff --raw --no-abbrev -z --cached: command returned error: 128 ~/Projects/MAINMODULE/platform/SUBMODULE [master]$ cd .. ~/Projects/MAINMODULE/platform [master]$ cd .. ~/Projects/MAINMODULE [master]$ git difftool