[translation-tools/master] Use -u switch for git add, meaning deleted files get removed

23 Feb
2012
23 Feb
'12
7:19 p.m.
commit 8b2ffde46e0638b9b8281951a71f80ef28bac444 Author: Sebastian Hahn <sebastian@torproject.org> Date: Thu Feb 23 20:11:01 2012 +0100 Use -u switch for git add, meaning deleted files get removed --- update_translations | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/update_translations b/update_translations index 97f2ee8..2219142 100755 --- a/update_translations +++ b/update_translations @@ -30,7 +30,7 @@ for project in $PROJECTS; do $TX pull -a -s > /dev/null; # ... add them to git ... - git add . > /dev/null; + git add -u . > /dev/null; git commit -qm "Update translations for $project" > /dev/null || test $? = 1; # ... and push them live.
4860
Age (days ago)
4860
Last active (days ago)
0 comments
1 participants
participants (1)
-
sebastian@torproject.org