summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Add a BUILDDIR variable for out-of-tree buildsTavian Barnes2022-05-202-52/+61
| | | | bfs can now be built from a read-only source tree.
* Makefile: Split build into bin and obj directoriesTavian Barnes2022-05-168-73/+68
| | | | | This also moves the main binary from ./bfs to ./bin/bfs, and ./tests.sh to ./tests/tests.sh, with the goal of keeping the repository root clean.
* parse: Warn on paths found within -excludeTavian Barnes2022-05-131-0/+5
|
* tests: New --stop flag to stop after the first failureTavian Barnes2022-05-131-1/+9
|
* tests: Buffer standard error, and print it when tests failTavian Barnes2022-05-132-93/+89
|
* tests: Add --verbose={commands,errors,skipped,tests} optionsTavian Barnes2022-05-132-11/+38
|
* ci/freebsd: Run in a jailTavian Barnes2022-05-131-5/+5
|
* tests: Exit immediately if fail() detects a crashTavian Barnes2022-05-121-2/+2
|
* tests: New skip_unless helperTavian Barnes2022-05-121-56/+68
|
* tests: Use skip_if for sudo testsTavian Barnes2022-05-124-49/+66
| | | | | | This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo
* stat: Pass AT_NO_AUTOMOUNT if possibleTavian Barnes2022-05-123-0/+26
| | | | | Previously bfs would trigger automounts even when it didn't descend into the mount directory, while GNU find does not.
* stat: Keep statx()-specific flags separateTavian Barnes2022-05-121-8/+9
| | | | | Previously, if statx() was unsupported at runtime, we could end up passing AT_STATX_DONT_SYNC to fstatat() which doesn't expect it.
* stat: Factor the BFS_STAT_TRYFOLLOW retry logic outTavian Barnes2022-05-121-30/+25
|
* stat: Rename some feature detection macrosTavian Barnes2022-05-121-8/+8
|
* color: Don't colorize capable files by defaultTavian Barnes2022-05-111-1/+1
| | | | | | | GNU ls changed this default in coreutils 9.1, since checking capabilities has a severe performance penalty. Link: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6b5134770d35b045e5a9219bf4a216324e0113d3
* color: Only check ln=target onceTavian Barnes2022-05-111-7/+7
| | | | Fixes: 7241d6cc35134fcb5ec6dfa81bbd01e430b2415f
* Makefile: Look for .d files in the right placesTavian Barnes2022-05-111-1/+1
| | | | Fixes: f2cb2215213c0d831a697b0b440f78d9ad5c2b83
* main: Avoid a gotoTavian Barnes2022-05-111-6/+5
|
* README: Add links to upstream packagesTavian Barnes2022-05-111-9/+9
|
* Makefile: New check-install targetTavian Barnes2022-05-091-0/+8
|
* README: Use a table for side-by-side examplesTavian Barnes2022-05-091-10/+35
|
* docs: New USAGE.md documentTavian Barnes2022-05-092-40/+175
|
* docs: Move dependency flag info from the README to docs/BUILDING.mdTavian Barnes2022-05-072-11/+22
|
* docs: Split CONTRIBUTING into BUILDING and HACKINGTavian Barnes2022-05-073-48/+57
|
* README: Add a link to the AUR packageTavian Barnes2022-05-071-0/+3
|
* README: Open the "already packaged" section by defaultTavian Barnes2022-05-071-2/+10
|
* README: Reformat to save some vertical spaceTavian Barnes2022-05-071-16/+50
|
* docs: Move some documentation into a subfolderTavian Barnes2022-04-214-2/+2
|
* Add basic zsh completionArvid Norlander2022-04-212-0/+175
| | | | Fixes #32.
* Makefile: Put the main .o files under build/srcTavian Barnes2022-04-212-36/+32
|
* Makefile: Generate build/FLAGS.new with its own targetTavian Barnes2022-04-211-4/+7
|
* Makefile: Replace flags.sh with a two-line recipeTavian Barnes2022-04-192-15/+2
|
* Makefile: Move .flags to build/FLAGSTavian Barnes2022-04-193-12/+14
|
* Makefile: Quiet errors from git describeTavian Barnes2022-04-191-3/+5
| | | | | | | | | | | | | | | | With new git versions, it is an error to invoke git inside a repository owned by someone else. This manifested as $ sudo make install fatal: unsafe repository ('/home/tavianator/code/bfs' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/tavianator/code/bfs Work around it with `2>/dev/null`. This should also help if git is not installed, but .git/ still exists. Link: https://github.blog/2022-04-12-git-security-vulnerability-announced/
* RELEASES.md: 20222 is too far awayTavian Barnes2022-04-191-1/+1
|
* ci/codecov: Look for gcov files under buildTavian Barnes2022-04-181-1/+1
|
* Makefile: Spread out the .PHONY targetsTavian Barnes2022-04-181-2/+9
|
* Makefile: Use a recipe to update .flags rather than $(shell)Tavian Barnes2022-04-181-8/+4
| | | | | | | | | This means we don't need to generate .flags unless we're actually building a target that needs it, which is important for thing like $ sudo make install that used to inconveniently create a root-owned .flags file.
* tests: Also put build outputs under build/Tavian Barnes2022-04-163-19/+14
|
* Keep Build Files In `build` (#89)トトも2022-04-161-29/+32
|
* Source / Include Folder (#88)トトも2022-04-1654-5/+8
| | | Moved Source Files Into `src` Folder
* style: Use &array[i] rather than array + iTavian Barnes2022-04-163-8/+8
|
* color: Support a separate $BFS_COLORS environment variableTavian Barnes2022-04-155-70/+84
|
* color: Use three-letter codes for warnings and errorsTavian Barnes2022-04-153-11/+11
| | | | No reason to potentially conflict with the two-letter codes GNU ls uses.
* tests: Quiet errors from chflagsTavian Barnes2022-04-151-1/+1
|
* eval: Use BFTW_BUFFER when deleting files on FreeBSDTavian Barnes2022-04-151-0/+35
| | | | Works around #67.
* bftw: New BFTW_BUFFER flagTavian Barnes2022-04-152-2/+4
|
* bfs.1: Fix a confusing comma in the -size docsTavian Barnes2022-04-011-2/+2
|
* opt: Use floats consistently for probabilities and costsTavian Barnes2022-03-272-5/+5
|
* Release 2.52.5Tavian Barnes2022-03-273-2/+29
|