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

sebastian at torproject.org sebastian at torproject.org
Thu Feb 23 19:19:34 UTC 2012


commit 8b2ffde46e0638b9b8281951a71f80ef28bac444
Author: Sebastian Hahn <sebastian at 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.



More information about the tor-commits mailing list