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

[tor-commits] [translation-tools/master] Use git add -A (not -u), which adds new files



commit 0e02545e16884f81e15ee526fbbda578e76fbc29
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Wed Mar 14 21:24:41 2012 +0100

    Use git add -A (not -u), which adds new files
    
    it also retains the property of -u, which is deletion of no longer
    present previously tracked files.
---
 update_translations |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/update_translations b/update_translations
index 2219142..102867e 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 -u . > /dev/null;
+  git add -A . > /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