aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Forsman2020-09-13 14:30:52 +0200
committerAxel Forsman2020-09-13 15:48:46 +0200
commitad61c0992c41fcd962a82e3c89577752cf640b20 (patch)
treef5e7c65e8afe6432075e15314e837e3ed4642f3c
parenta423c8c4e542ed4f3877ab6d93b0eb6551138845 (diff)
downloadvim-helptag-versions-ad61c0992c41fcd962a82e3c89577752cf640b20.tar.bz2
Use ':' as Git tag delimiter
Git tags are allowed to contain commas but not colons.
-rwxr-xr-xdifftags4
1 files changed, 2 insertions, 2 deletions
diff --git a/difftags b/difftags
index 572d677..bbc901c 100755
--- a/difftags
+++ b/difftags
@@ -17,8 +17,8 @@ tags=$(git -C "$repo" for-each-ref \
tmp=$(mktemp -d)
mkfifo --mode=0600 "$tmp/p"
printf '\n%s' "$tags" > "$tmp/p" &
-for p in $(echo "$tags" | paste --delimiters=, "$tmp/p" -); do
- IFS=, read -r a b << EOF
+for p in $(echo "$tags" | paste --delimiters=: "$tmp/p" -); do
+ IFS=: read -r a b << EOF
$p
EOF
# Find all help tags added with $b