X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/40e5aabecac46a43b1e68d7c8cb0a4668e780bb1..ff1bb4c698df9e4fdfda4a08fac99d596a0c2911:/vcsh?ds=inline diff --git a/vcsh b/vcsh index 355e9fa..e8513ed 100755 --- a/vcsh +++ b/vcsh @@ -19,7 +19,7 @@ # If '.git-HEAD' is appended to the version, you are seeing an unreleased # version of vcsh; the master branch is supposed to be clean at all times # so you can most likely just use it nonetheless -VERSION='1.20140313' +VERSION='1.20140508' SELF=$(basename $0) fatal() { @@ -244,12 +244,14 @@ get_files() { list_tracked() { for VCSH_REPO_NAME in $(list); do get_files - done | sort -u + done | sed "s,^,$(printf '%s\n' "$VCSH_BASE/" | \ + sed 's/[,\&]/\\&/g')," | sort -u } list_tracked_by() { use - git ls-files | sort -u + git ls-files | sed "s,^,$(printf '%s\n' "$VCSH_BASE/" | \ + sed 's/[,\&]/\\&/g')," | sort -u } pull() {