commit | 9da0604b9012225e5fcb1e070f8b2093da945d81 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Mon Nov 08 13:42:22 2021 +0000 |
committer | Victor Chang <vichang@google.com> | Mon Nov 08 13:52:23 2021 +0000 |
tree | 47bf362dc10f3e4ddf9d7373f21d401a6284cf18 | |
parent | 2888ba76b2ea359e58b5a5a125b95e3adfc35338 [diff] |
Fix the broken index after ojluni_refresh_files Apparently, index.repo.reset(paths) doesn't reset correctly, probably due to a GitPython bug. Use index.repo.reset() to clear the entire index Also, a fix to allow running `ojluni_refresh_files` from any libcore/ subdirectory Bug: 111603149 Test: ojluni_refresh_files Change-Id: I8823b9a8d819ed04a9bd3966d59729c6d58ae067