summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-23 16:14:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-23 16:14:26 +0200
commit315792498783a7605434a6a2c79958dfe2aea9b4 (patch)
treea99ab0c8ec02fc4fb87c7edb3b2a0319c2d94b17
parent284a57f1bb2ebddde484bb1f8c06911e90c41081 (diff)
Add arguments to stash.sh, remove stash-pop.sh
-rwxr-xr-xgit/stash-pop.sh15
-rwxr-xr-xgit/stash.sh2
2 files changed, 1 insertions, 16 deletions
diff --git a/git/stash-pop.sh b/git/stash-pop.sh
deleted file mode 100755
index adec9c0..0000000
--- a/git/stash-pop.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-# Assume this script never run via PATH.
-#
-self=`realpath $0`
-. `dirname $self`/modules
-
-wd=`pwd`
-
-for i in $odb_modules; do
- echo "stash pop $i" 1>&2
- cd $i
- git stash pop
- cd $wd
-done
diff --git a/git/stash.sh b/git/stash.sh
index 0175296..93a168d 100755
--- a/git/stash.sh
+++ b/git/stash.sh
@@ -10,6 +10,6 @@ wd=`pwd`
for i in $odb_modules; do
echo "stash $i" 1>&2
cd $i
- git stash
+ git stash $*
cd $wd
done