Changes between Version 46 and Version 47 of BuildingQtOnWindows
- Timestamp:
- Jan 17, 2013, 11:02:49 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingQtOnWindows
v46 v47 117 117 There is also a syntax to invert this logic, but it is currently not working well with directories. 118 118 119 1. Create a '' sparse-checkout'' file with all the files/directories that you need. You can use the following command in git-bash to create such a file that will ignore the ''LayoutTests'' directory.119 1. Create a ''.git/info/sparse-checkout'' file that will ignore the ''LayoutTests'' directory: 120 120 {{{ 121 cd WebKit 122 ls -a | grep ".[a-zA-Z]" | grep -Ev "^.git|LayoutTests$" > .git/info/sparse-checkout 121 /* 122 !LayoutTests 123 123 }}} 124 2. Update the git tree cache124 2. Enable sparse-checkout: 125 125 {{{ 126 git read-tree -m -u HEAD 126 git config core.sparsecheckout true 127 127 }}} 128 129 2. Check which files have been excluded 128 3. Remove the LayoutTests directory if it is already there: 130 129 {{{ 131 git ls-files -v | grep ^S 130 rmdir /s LayoutTests 132 131 }}} 132 4. Update the git tree cache: 133 {{{ 134 git read-tree -m -u HEAD 135 }}} 136 5. Check which files have been excluded: 137 {{{ 138 git ls-files -v | grep ^S 139 }}}