]> 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:

vcsh: list_untracked(): remove --nocheck-order
authorEli Young <elyscape@gmail.com>
Tue, 14 Apr 2015 23:46:43 +0000 (16:46 -0700)
committerEli Young <elyscape@gmail.com>
Tue, 14 Apr 2015 23:46:43 +0000 (16:46 -0700)
`--nocheck-order` is only supported by GNU `comm`, but it isn't
necessary anyway because we sort the inputs first.

vcsh

diff --git a/vcsh b/vcsh
index 0f2c5af7373af05fa9a0510ff6173df44ac31ab7..51f2d2125a0bd52e09681e5d80f40ea0488e5efc 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -312,7 +312,7 @@ list_untracked_helper() {
                cp $temp_file_others $temp_file_untracked || fatal 'Could not copy temp file'
        fi
        cp $temp_file_untracked $temp_file_untracked_copy || fatal 'Could not copy temp file'
-       comm -12 --nocheck-order $temp_file_others $temp_file_untracked_copy > $temp_file_untracked
+       comm -12 $temp_file_others $temp_file_untracked_copy > $temp_file_untracked
 }
 
 pull() {