This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if test $# -ne 1 | |
then | |
echo 'must receive exactly one argument' | |
exit 1 | |
fi | |
tar czvf "${1}.tar.gz" "${1}" && rm -fv "${1}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pwd && echo && diff -u gitk-deb9-vanilla gitk-deb9-multistash; echo; ls -l | grep gitk | |
/usr/bin | |
--- gitk-deb9-vanilla 2017-08-09 06:49:17.000000000 +0000 | |
+++ gitk-deb9-multistash 2017-09-25 11:30:11.386472474 +0000 | |
@@ -296,6 +296,12 @@ | |
set revs HEAD | |
} elseif {[lsearch -exact $revs --all] >= 0} { | |
lappend revs HEAD | |
+ set stashesfd [open [concat | \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/gitk b/gitk | |
index a14d7a1..afd7585 100755 | |
--- a/gitk | |
+++ b/gitk | |
@@ -296,6 +296,12 @@ proc parseviewrevs {view revs} { | |
set revs HEAD | |
} elseif {[lsearch -exact $revs --all] >= 0} { | |
lappend revs HEAD | |
+ set stashesfd [open [concat | \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diff -u /usr/bin/gitk-deb8-vanilla /usr/bin/gitk-deb8-multistash | |
--- /usr/bin/gitk-deb8-vanilla 2016-08-29 10:07:06.507344629 +0200 | |
+++ /usr/bin/gitk-deb8-multistash 2016-09-08 14:36:35.382476634 +0200 | |
@@ -401,6 +401,11 @@ | |
if {$vcanopt($view)} { | |
set revs [parseviewrevs $view $vrevs($view)] | |
+ set stashesfd [open [concat | gitk-stash-list-ids.sh] r] | |
+ while {[gets $stashesfd stashline] >= 0} { | |
+ set revs [lappend revs $stashline] |