gitignore: add /buck-out/ to ignore list

While working on the Buck branch, I have been bitten about a million times by
the following setup:

- Hack away
- Switch back to main
- Run `jj st` after editing a file
- `/buck-out` gets snapshotted, because it isn't ignored
- Trip max snapshot filesize error
- Pain

There are a few ways to skin the cat but this is simplest. It's an incredibly
small addition and it may be all for naught in the long run, but this will stem
the bleeding, at least.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2024-09-06 17:09:05 -05:00
parent cf4a7e34b9
commit 882d528718

7
.gitignore vendored
View File

@ -2,9 +2,9 @@
/rendered-docs
.direnv
.envrc
# generated by nix build, nix-build
# Generated by nix build, nix-build
result
# generated by the insta crate
# Generated by the insta crate
*.pending-snap
*.snap*
!cli/tests/cli-reference@.md.snap
@ -14,3 +14,6 @@ result
# Generated by setting `JJ_TRACE` environment variable.
jj-trace-*.json
# To make working on buck2 easier (#1997, #4413)
/buck-out/