Commit 244ac94
committed
extract_utils: use null work-tree for getting the list of affected files
`git apply --numstat` returns different paths depending on current
working directory:
$ pwd
/home/luk/lineage-22/device/google/bramble
$ git apply --numstat /home/luk/lineage-22/device/google/bramble/bramble/HbmSVManager.patch
46 2 smali/com/android/hbmsvmanager/filter/AmbientFilterFactory.smali
$ pwd
/home/luk/lineage-22/device/google/bramble/bramble
$ git apply --numstat /home/luk/lineage-22/device/google/bramble/bramble/HbmSVManager.patch
46 2 bramble/smali/com/android/hbmsvmanager/filter/AmbientFilterFactory.smali
And because of that __get_apktool_unpack_args() fails due to expecting
path to start with res/, smali/ or be equal to AndroidManifest.xml.
Change-Id: I947c115d61207d7be8280939d8266adda9f49a161 parent 1e37b8b commit 244ac94
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
0 commit comments