[SERVER-36193] Add format-my mode to clang_format.py to only format local changes Created: 19/Jul/18 Updated: 29/Oct/23 Resolved: 24/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Platforms 2018-08-13 |
| Participants: |
| Description |
|
Current buildscripts/clang_format.py offers a format command which formats all files known to git. While this works regardless of local git repo setup, it is slow because it has to look at ~3900 files. Performance can be improved by offering a new command that only looks at files that changed since the current branch has forked from origin/master. |
| Comments |
| Comment by Githook User [ 24/Jul/18 ] |
|
Author: {'username': 'markbenvenuto', 'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com'}Message: |