No description
Find a file
Chandler Swift f908b10435
sam: Fix includeIf trailing slash
This isn't a new issue; not even to me!

https://news.ycombinator.com/item?id=38946967

> chandlerswift on Jan 11, 2024 | on: Conditional Git Configuration
>
> I'd attempted to configure this some time back, but never gotten it
> working, and this was the kick in the pants I needed to finally get
> it working!
>
> In case anyone is stuck in the same way that I was, the trailing
> slash at the end (which I had previously omitted, not realizing) is
> necessary for this to work. The docs[0] mention this, but I'd managed
> to repeatedly miss it:
>
> > If the pattern ends with /, * will be automatically added. For
> > example, the pattern foo/ becomes foo/*. In other words, it matches
> > "foo" and everything inside, recursively.
>
> [0]: https://git-scm.com/docs/git-config#Documentation/git-config...

:doh:
2025-07-15 17:08:20 -05:00
bert bert: Add flintlock.chandlerswift.com 2025-07-04 17:10:05 -05:00
bigbird bigbird: Add disabled Eric user; reorg users 2025-06-06 17:52:58 -05:00
factorio Validate checksum of Factorio mods 2024-08-05 20:04:50 -05:00
oscar oscar: Factor out git-pre-commit-hook for use on other machines 2025-07-09 16:49:10 -05:00
sam sam: Fix includeIf trailing slash 2025-07-15 17:08:20 -05:00
.envrc Set up nix-shell/direnv 2024-11-05 23:59:10 -06:00
.gitignore Set up nix-shell/direnv 2024-11-05 23:59:10 -06:00
create-server.py Add Cloudflare DNS record creation to create-server script 2024-08-04 00:33:01 -05:00
git-pre-commit-hook oscar: Factor out git-pre-commit-hook for use on other machines 2025-07-09 16:49:10 -05:00
shell.nix Set up nix-shell/direnv 2024-11-05 23:59:10 -06:00