diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-08-30 13:54:27 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-09-22 18:23:36 +0200 |
commit | 2f46ba433d36d0ade5103b8169cd2a6d601cdc57 (patch) | |
tree | 33155a05d2a68ec5da205fda220f8f5f4ac34f6a /gbp | |
parent | af70d4d97813637d21182dbf535b8e9b50e58fb6 (diff) |
Don't honor .gitignore during replace_source_tree
this only leads to missing files during git-import-orig
Closes: #467504
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git_utils.py b/gbp/git_utils.py index 7272e10c..9a70ab88 100644 --- a/gbp/git_utils.py +++ b/gbp/git_utils.py @@ -138,7 +138,7 @@ def replace_source_tree(repo, src_dir, filters, verbose=False): """ old = set(repo.index_files()) new = set(copy_from(src_dir, filters)) - GitAdd()(['.']) + GitAdd()(['-f', '.']) files = [ obj for obj in old - new if not os.path.isdir(obj)] if files: GitRm(verbose=verbose)(files) |