Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpplint: make it possible to run outside git repo
cpplint uses the top-level .git directory to determine what the root is for #include guards. If it doesn't find a .git directory, it walks up all the way to the system root and subsequently complains that guards must be written as HOME_USER_SRC_NODE_SRC_FILENAME_H_. This commit replaces the .git-based path munging with a fixed root path relative to the location of the cpplint script, making it possible to successfully run `make test` from an extracted tarball. Fixes: #2693 PR-URL: #2710 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
- Loading branch information
a493dab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "commit date" of this commit is older than of its parent... how is that possible?
This commit has "September 06, 2015 at 09:28:42 GMT+2" and ba02bd0's is "September 06, 2015 at 13:38:10 GMT+2" i.e. more than 4h later.
I noticed it only because it messed the tree view in "Date order" mode in SourceTree. ;)