Skip to content

Commit 883cf5a

Browse files
committed
CCM-8881: Add comment to explain git add line in sort dictionary script
1 parent 421eb8b commit 883cf5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/githooks/sort-dictionary.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ function main() {
2525
mv $root/accept.sorted.txt $root/accept.txt
2626
mv $root/reject.sorted.txt $root/reject.txt
2727

28-
git add -uv $root/*
28+
# Update the sorted files in the staged git index
29+
git add --update --verbose $root/*
2930
}
3031

3132
# ==============================================================================

0 commit comments

Comments
 (0)