diff --git a/vcsh b/vcsh index 124908900ea60d85435e8cd4675f91ae11e01251..15eec5153d1e27caea5343a4ce6797c7da4fd6e8 100755 --- a/vcsh +++ b/vcsh @@ -286,7 +286,7 @@ retire() { list_untracked() { for VCSH_REPO_NAME in $(list); do - [ -n $ran_once ] && files_untracked=$(printf '%s\n' "$files_untracked" | grep -x "$files_other") + [ -n $ran_once ] && files_untracked=$(printf '%s\n' "$files_untracked" | grep -Fx "$files_other") export GIT_DIR="$VCSH_REPO_D/$VCSH_REPO_NAME.git" files_other="$(git ls-files --others)" [ -z $ran_once ] && { ran_once=1; files_untracked=$files_other; }