https://git.dlma.com/testcode.git/tree/0ebd7028f06b8a2eed37ebae75248f3434bfff6aRecent commits to testcode.git (0ebd7028f06b8a2eed37ebae75248f3434bfff6a)2024-12-22T14:47:05-08:00tag:gitlist.org,2012:commit/0ebd7028f06b8a2eed37ebae75248f3434bfff6aUse grep instead of awk to choose files to format.2024-12-22T14:47:05-08:00dblumedavid.blume@gmail.com
<pre>Grep with -P and '\K' is shorter. And the awk previously published did not
support filenames with consecutive spaces. The correct awk would've used
FPAT to allow double-quote escaping delimiters and would've been longer:
awk '/^[MTARC].+\.([hc](pp)?)"?$/ {print $2}' FPAT='[^ ]*|"[^"]+"'
</pre>
tag:gitlist.org,2012:commit/c610364b083be709c529edb20488ef1509ce98c6Distinguish "git clang-format" from "clang-format"2024-12-22T12:29:20-08:00dblumedavid.blume@gmail.com
<pre>Mention that "git clang-format" only formats your staged changes, but it's
often more useful to just clang-format the whole staged files.
This is especially so when there's a merge pipeline that'll run
clang-format on the whole file itself.
</pre>
tag:gitlist.org,2012:commit/569205dfb85735d8a18f2f39dc0aea619d06ac1dRename lifetime.h to lifetime.hpp2024-09-16T14:41:05-07:00dblumedavid.blume@gmail.com
<pre>cscope and ctags scripts rely on hpp
</pre>
tag:gitlist.org,2012:commit/43a7d0daa9fa7d49278e84c3141b5f89851adbe8Add a lifetime object to test scopes2024-09-13T20:15:11-07:00dblumedavid.blume@gmail.com
<pre></pre>
tag:gitlist.org,2012:commit/1f815c96bbf0add64ed9c0993cf8bc1c067c15cdPrefer pipx install clang-format to https://apt.llvm.org/llvm.sh2024-03-21T08:57:40-07:00dblumedblume@roku.com
<pre>This way:
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17
sudo apt install clang-format-17
Requires you to specify binary clang-format-17 sometimes.
</pre>
tag:gitlist.org,2012:commit/c5d00129558ad3ed732f26e0c35cb9d415db19a4Add copilot_serialization2023-11-14T14:54:08-08:00dblumedblume@roku.com
<pre></pre>
tag:gitlist.org,2012:commit/39593711e26f4393bda2b14a3d062f00af3652b9Add copilot_serialization2023-11-14T14:51:58-08:00dblumedblume@roku.com
<pre></pre>
tag:gitlist.org,2012:commit/c7de061b4eeb12ba5c0dc16c41369cdb70d57a76Added a histogram thing.2023-10-18T23:38:10-07:00dblumedavid.blume@gmail.com
<pre></pre>
tag:gitlist.org,2012:commit/cb70cbc47ac66773d040b02aa4574fbe20914cbbUpdate README with working example2023-08-22T17:14:44-07:00dblumedblume@roku.com
<pre></pre>
tag:gitlist.org,2012:commit/cbf5f2ca58d0a332fdfb66eba8601b3ef5489e3eMention git-clang-format2023-08-22T17:04:11-07:00dblumedblume@roku.com
<pre></pre>