repocache: clean out stale submodules, too
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 1 Sep 2014 13:02:34 +0000 (16:02 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 2 Sep 2014 13:27:56 +0000 (16:27 +0300)
commitbb548624e7817554bc67c0f2f86afc9ad142039e
tree2b41d3f177c655836e503555a7a68a82e122a150
parenta613c67998612b02f20a64f11718c7808e387efd
repocache: clean out stale submodules, too

Use "double force" when doing git-clean, in order to remove untracked
submodule directories, too. From git-clean manpage:
    -d  Remove untracked directories in addition to untracked files. If
        an untracked directory is managed by a different Git repository,
        it is not removed by default. Use -f option twice if you really
        want to remove such a directory.

Change-Id: I95235d492bdb943c26316843b7d823b7d07b427b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp_repocache/__init__.py