diff options
Diffstat (limited to 'doc/tips')
-rwxr-xr-x | doc/tips/automatically_adding_metadata/pre-commit-annex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tips/automatically_adding_metadata/pre-commit-annex b/doc/tips/automatically_adding_metadata/pre-commit-annex index 61717c8a5..a77f7a8e3 100755 --- a/doc/tips/automatically_adding_metadata/pre-commit-annex +++ b/doc/tips/automatically_adding_metadata/pre-commit-annex @@ -70,7 +70,7 @@ addmeta() { file="$1" field="$2" value="$3" - afield="$(echo "$field" | tr ' ' '_' | tr 'A-Z' 'a-z')" + afield="$(echo "$field" | tr ' ' '_')" git -c annex.alwayscommit=false annex metadata \ --set "$afield$equal$value" --quiet -- "$file" } |