Skip to content

Commit

Permalink
fix config variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
motemen committed Nov 25, 2013
1 parent 6580eff commit 8f2498b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion git-unify
Expand Up @@ -22,7 +22,7 @@ log () {
echo $@
}

root=${GIT_UNIFIED_ROOT-$(git config unified.root || true)}
root=${GIT_UNIFY_ROOT-$(git config unify.root || true)}
if [ -z "$root" ]
then
root="$HOME/.shared-git"
Expand Down
6 changes: 3 additions & 3 deletions t/test.sh
Expand Up @@ -9,9 +9,9 @@ export PATH=$(cd $t/..; pwd):$PATH

. $t/sharness/sharness.sh

export GIT_UNIFIED_ROOT="$SHARNESS_TRASH_DIRECTORY/.shared-git"
rm -rf "$GIT_UNIFIED_ROOT"
mkdir -p "$GIT_UNIFIED_ROOT"
export GIT_UNIFY_ROOT="$SHARNESS_TRASH_DIRECTORY/.shared-git"
rm -rf "$GIT_UNIFY_ROOT"
mkdir -p "$GIT_UNIFY_ROOT"

counter_file="$SHARNESS_TRASH_DIRECTORY/counter"
echo 1 > "$counter_file"
Expand Down

0 comments on commit 8f2498b

Please sign in to comment.