summaryrefslogtreecommitdiff
path: root/scripts/tree.rc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tree.rc')
-rw-r--r--scripts/tree.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tree.rc b/scripts/tree.rc
index 12bf9c32..d42f5bd6 100644
--- a/scripts/tree.rc
+++ b/scripts/tree.rc
@@ -8,7 +8,7 @@ index=$3
fn checkstatus {}
-ifs=() { oldcwd=`{pwd | head -c -1} }
+oldcwd=`{pwd}
cd $repo
git read-tree --empty