Often, we miss committing new files, and 'arc diff' is supposed to warn
us about this. Unfortunately, because of the massive output of the
command (so many untracked files not in .gitignore), we tend to ignore
it and lose information. Fix this by adding some rules: works if the
build directory is /build.
Details
Diff Detail
Event Timeline
There really isn't anything offensive here, but is there a reason all your directories are starting with '/'? The rest of the file omits the leading slashes, so it might be nice if you kept consistent.
.gitignore | ||
---|---|---|
46 | Do most people do in-tree builds? I exclusively do out of tree CMake/configure. |
The leading '/' means anchored to toplevel: so, 'foo' matches the file or directory 'foo' in any subdirectory of the tree, '/foo' matches the file or directory 'foo' at the toplevel of the tree. Many of the other rules should probably be updated to contain the leading '/' as well, but that's the subject of another change.
.gitignore | ||
---|---|---|
46 | Not sure about this. I thought in-tree meant a Debug+Asserts/ directory in each subdirectory of the tree. But if the style is to take the build/ directory out of the source tree entirely, I'll remove this rule and do that from now on. |
Do most people do in-tree builds? I exclusively do out of tree CMake/configure.