[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits