Bug 415482 - Git "Clean after checkout" does not clean folders
Summary: Git "Clean after checkout" does not clean folders
Status: ASSIGNED
Alias: None
Product: Hudson
Classification: Technology
Component: GIT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact:
URL:
Whiteboard: candidate-3.1.1
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 09:24 EDT by k z CLA
Modified: 2013-10-14 15:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k z CLA 2013-08-20 09:24:24 EDT
Git "Clean after checkout" does not clean folders. According to help "Run "git clean -fdx" after every checkout to ensure a clean build." so it is supposed to remove unversioned files and folders but it does not. After a build (xcode) I got "build" folder with unique build artifacts. After antoher build my build folder contains artifacts from current and all previous builds even though "clean after checkout" option is checked. In the log when this option is checked I see "Cleaning workspace" log entry and unversioned files are removed however it does not clean folders. When I call command git clean -fdx from command line "build" folder is removed. Is git clean command really invoked with '-d' option ?