ls: ls -lF symlink target indicators#11554
Conversation
77108f2 to
c9b81dc
Compare
Alonely0
left a comment
There was a problem hiding this comment.
Looks fine, but there are a lot of removed comments (vibecode?) and unnecessary performance hits.
|
GNU testsuite comparison: |
Merging this PR will degrade performance by 3.13%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | sort_long_line[10000] |
423.9 µs | 437.6 µs | -3.13% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing joknarf:classify_target (89454cf) with main (aaf4a35)
Footnotes
-
46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
|
please fix the failing tasks |
|
@joknarf For the perf-related changes I requested, please try to git-apply this patch. It should also fix the formatting-related CI failures. |
92f6112 to
c2f7ad6
Compare
|
I'm happy to sign off on this code provided CI likes it, but I'd still like to save those comments and (while I don't really care), I would appreciate if you could mark me as a co-author of the apply commit and give it a descriptive name, i.e: Since you're gonna have to do an interactive rebase, while you're at it please change your commits to follow our etiquette. Split 4ef7830 into a fix commit and a chore one that adds the test (squash the cSpell fix onto it), and use our naming conventions for them. |
ls -lF symlink target indicatorsls -lF symlink target indicators
82969f7 to
9f3dc35
Compare
Ok, I hope I did what you expect, Thank you |
9f3dc35 to
d071234
Compare
d071234 to
b5a1194
Compare
|
Signed off, looks good to me. Thanks @joknarf! @sylvestre can we get a CI run? |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
CI passes, it's x64 macOS timeout bugs at it again. |
|
GNU testsuite comparison: |
|
@joknarf please rebase to fix CI. |
Co-authored-by: Guillem L. Jara <4lon3ly0@tutanota.com>
ddaa63f to
422c1a7
Compare
rebase done, added fix for Sylvestre test ( |
|
@sylvestre can you confirm the WASI failure is unrelated? Also it appears we hit quota in CodSpeed :/ |
but fix not ok, need to check/test, typically: |
422c1a7 to
1f7f97a
Compare
1f7f97a to
cf29c00
Compare
|
FYI, I made a PR to this branch trying to get similar behavior as gnuls, tell me if you think I should merge it here. PR ls: ls -l ls -lp LS_COLORS can make ls stat symlink target => change indicator display/color |
ls: `ls -l` `ls -lp` LS_COLORS can make ls stat symlink target => change indicator display/color
|
as still no reply since month, merged the fix to have same behavior as gnu ls as for me, is the target behavior (would remove rust coreutils from any server if not gnu compatible) |
|
sorry, it looks great, ready to be merged |
|
but it seems i can't merged it |
--------- Co-authored-by: Guillem L. Jara <4lon3ly0@tutanota.com> Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>


Fixes #11542
gnu output incompatibility with
--classifyon symlink targetsbefore:
after (gnu identical output):