[tor-commits] [translation-tools/master] Use git add -A (not -u), which adds new files
sebastian at torproject.org
sebastian at torproject.org
Wed Mar 14 20:25:35 UTC 2012
commit 0e02545e16884f81e15ee526fbbda578e76fbc29
Author: Sebastian Hahn <sebastian at torproject.org>
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.
More information about the tor-commits
mailing list