]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

test commit
authorRichard Hartmann <richih.mailinglist@gmail.com>
Thu, 12 Jan 2012 23:43:12 +0000 (00:43 +0100)
committerMert Dirik <mertdirik@gmail.com>
Sat, 18 Oct 2014 13:55:40 +0000 (16:55 +0300)
vcsh

diff --git a/vcsh b/vcsh
index 124908900ea60d85435e8cd4675f91ae11e01251..15eec5153d1e27caea5343a4ce6797c7da4fd6e8 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -286,7 +286,7 @@ retire() {
 
 list_untracked() {
        for VCSH_REPO_NAME in $(list); do
 
 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; }
                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; }