summaryrefslogtreecommitdiff
path: root/gbp/git
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-09-03 16:09:11 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-05 14:20:03 +0300
commit493a55c3a6d71ff9fbbdc154633e1dc40ec4dd5b (patch)
tree5b35293f7d5f4c3093579fe135a5104d4ac890da /gbp/git
parent2fea77aa4101d8bd310ca974241a035935bb6400 (diff)
downloadgit-buildpackage-493a55c3a6d71ff9fbbdc154633e1dc40ec4dd5b.tar.gz
git-buildpackage-493a55c3a6d71ff9fbbdc154633e1dc40ec4dd5b.tar.bz2
git-buildpackage-493a55c3a6d71ff9fbbdc154633e1dc40ec4dd5b.zip
GitRepository.add_files: consistently update ALL tracked files
Use the --all option of git-add so that all tracked files are updated in all conditions. Previously deletion of tracked files was not staged, for example. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/git')
-rw-r--r--gbp/git/repository.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index d53566a7..5e7eb410 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -1338,6 +1338,7 @@ class GitRepository(object):
args = GitArgs()
args.add_true(force, '-f')
+ args.add('-A')
args.add(paths)
if index_file: