-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[perl branch]: submodule diff error #21
Comments
It looks like you are using an older version of the script. I rewrote a big part of the Perl script. Can you try with the latest (commit 762871a)? Also, can you tell me more information about your configuration?
|
Ok, I updated the code and run some more tests, here's the rundown, but first a recap on my settings:
case A: a simple repo with just a couple of file modifed, no submodules involved.
case B: repo with files and submodules modified.
|
I forgot to specify that my
|
Using the same setup (including the 'dd' alias), I have not been able to replicate this error. If you have time, can you please tell me:
Is this a public repo that I could try to test against? I cloned your |
sure,
and here's the git diff (some bits pruned), also it's a bit of a WIP so please don't mind the content 😁 diff --git i/bin/git-diffall w/bin/git-diffall
index 0838b05..762871a 160000
--- i/bin/git-diffall
+++ w/bin/git-diffall
@@ -1 +1 @@
-Subproject commit 0838b05556b608ca82d613c0a0e01dab97ab1511
+Subproject commit 762871a118ef287f86f4071dc93e536690b01f16
diff --git i/git/_gitconfig w/git/_gitconfig
index 8c15b10..390f5f9 100644
--- i/git/_gitconfig
+++ w/git/_gitconfig
@@ -18,7 +18,7 @@
# Passing --extcmd bypasses diff.tool and merge.tool (a valid option must be set, though)
# --copy-back applies the modifications made on the temp rhs tree back to git's working copy.
# ONLY the rhs tree will be copied to the working copy. The lhs will be discarded.
- dd = diffall --extcmd=~/local/bin/vimdirdiff.sh
+ dd = diffall --extcmd=/home/grota/local/bin/vimdirdiff.sh
vdd = -c merge.tool=meld diffall --copy-back
# Defines a diff mode, you can then put in .gitattributes
@@ -43,3 +43,12 @@
[tig "bind"]
generic = up move-up
generic = down move-down
+# vim: set ft=gitconfig:
+# merge manually until git 1.7.10, or use stgit http://procode.org/stgit/
+[user]
+ name = Giuseppe Rota
+ email = xxxxxx
+
+[github]
+ token = xxxxxxxxxx
+ user = xxxx
diff --git i/pentadactyl/_pentadactylrc w/pentadactyl/_pentadactylrc
index 18dde99..867c1ad 100644
--- i/pentadactyl/_pentadactylrc
+++ w/pentadactyl/_pentadactylrc
@@ -51,9 +51,10 @@ set mapleader=','
set newtab=help,prefs
set titlestring="Firefox / Pentadactyl"
set hintkeys='asdfhjklgqwerpoiuyt'
-set passkeys+=mail.google.com:jkroaefu<CR>gi#
+set passkeys+=mail.google.com:jkroaefu<CR>gi#l
"set wildmode=longest,full
set defsearch=gg
+set go+=B
highlight Hint font-size: 14px; background: rgba(210,1,133,0.8) !important; border: 2px solid rgb(165,1,105); font-weight: bold; color: white; font-family: Helvetica; line-height:1em;
highlight HintActive background: rgba(145,197,43,0.8) !important;
diff --git i/private w/private
--- i/private
+++ w/private
@@ -1 +1 @@
-Subproject commit f53be889043c6ca7885f98b17247a470c00273bb
+Subproject commit f53be889043c6ca7885f98b17247a470c00273bb-dirty
diff --git i/tmux/_tmux.conf w/tmux/_tmux.conf
index 2accde8..c6bb51e 100644
--- i/tmux/_tmux.conf
+++ w/tmux/_tmux.conf
@@ -50,6 +50,7 @@ set -g status-justify centre
set -g status-left-length 40
# not very much useful for now
#status-right ""#22T" %H:%M %d-%b-%y"
+set status-right "#(/home/grota/tmux-applets/tmux-cpu-freq 8)"
#setw -g xterm-keys on
#terminal-overrides ""
# }}} |
I am now able to replicate this error. I found the root cause and will push a fix soon. Thank you for the bug report and your patience in helping me find the reason. |
thanks to you! |
yes, it fixes the core issue. I still see 2 minor annoyances, though, due to the fact the we use the --raw option.
I don't see an easy way out of this, git-diff --submodule doesn't seem to help eithier, so this is just FYI. |
These are both valid complaints...I created issue #22 to document them. |
The perl implementation chokes on line 126 with:
I'm not fluent in perl. I've used some print statements and it seems to be trying to write to
/tmp/git-diffall.5U5FV/left/bin/git-diffall
.I'm simply trying diffall on my https://github.com/grota/rcfiles repo:
I might be doing something silly myself since I haven't been able to test git-diffall for a while.
The text was updated successfully, but these errors were encountered: