Add option --clean to sync_repos.sh
authorSeungSeop Park <sns.park@samsung.com>
Wed, 3 Dec 2014 01:24:12 +0000 (10:24 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit0737aaf89c73e7423adeb1db06fd3aef1446e5fc
treed4b329612591e3b1c2319b342cfea69509a75419
parenta4c15cfa4a542adb8492e20677e0f7790b8b92ed
Add option --clean to sync_repos.sh

If this option is passed, sync_repos.sh will clean up all untracked files and
directories that are not listed in .gitigore file. However, if an untracked
diretory is managed by a different Git repository, it's not removed.
Note that the operation is applied for not only in s-* but chromium-efl repo.
The intended client for this option is, but not confined to, the buildbot.

WARNING: Be careful when using this option outside of buildbot context,
         since it can blow up your local changes.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9584
Reviewed by: Antonio Gomes, Tomasz Olszak, Viatcheslav Ostapenko, mohan reddy

Change-Id: Ic2172925edd691aa3bbfc35fd035c10a0f4f2cea
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/.gitignore
tizen_src/sync_repos.sh