Skip to content

chown(ref): parse_uid flattened syntax#11351

Open
hlsxx wants to merge 1 commit intouutils:mainfrom
hlsxx:pr/parse-uid-flatten
Open

chown(ref): parse_uid flattened syntax#11351
hlsxx wants to merge 1 commit intouutils:mainfrom
hlsxx:pr/parse-uid-flatten

Conversation

@hlsxx
Copy link
Contributor

@hlsxx hlsxx commented Mar 16, 2026

chown: flatten parse_uid match arms and consolidate comments

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/date/resolution (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/unexpand/bounded-memory is now being skipped but was previously passing.
Congrats! The gnu test tests/expand/bounded-memory is now passing!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it's an improvement, I'm not a fan of the Err(_)s. Why not flatten it even more by getting rid of the matches and doing the steps sequentially with early returns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants