diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-14 21:31:48 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-03-14 21:31:48 -0400 |
commit | 7190864de465c3c3b015540ca45c9d9bccb5b790 (patch) | |
tree | 017983b755b90aea72e23c84c3b23a13fef7fb58 /modules/blobs | |
parent | 94cacc84d322429e70485dea49bb858f48aa26c8 (diff) |
more stuff
Diffstat (limited to 'modules/blobs')
-rw-r--r-- | modules/blobs/commit.d.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/blobs/commit.d.sh b/modules/blobs/commit.d.sh index 08e9698..458f98e 100644 --- a/modules/blobs/commit.d.sh +++ b/modules/blobs/commit.d.sh @@ -31,7 +31,10 @@ main() { cd "$dir" shopt -s dotglob nullglob for file in *; do - id="$("$RVS" commit "$file")" + if [[ "$RVS_REPO" -ef "$file" ]]; then + continue + fi + id="$("$RVS" commit "$file" 2>/dev/null)" stat -c $'%a\t%u (%U)\t%g (%G)\t' -- "$file" printf $'%s\t%s\n' "$id" "$file" done > "$tmpfile" |