You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
find glob output is relative even when the root is absolute #120
The glob form of dusage find prints relative paths even when invoked with an absolute root, while the expression form prints absolute paths. This makes automation brittle when the same command is run against several roots.
Example
dusage find --hidden--no-ignore --max-depth 4'.git''D:\Projects\repo'# prints nested/path/.git
dusage find 'D:\Projects\repo'-maxdepth 4-name .git -print
# prints D:\Projects\repo\nested\path\.git
JSON does include an absolute path field, but plain output does not.
How I use it
I collect .git paths from many roots, convert them to repository roots, and pass them to git commands. Relative output loses which root each result came from unless every root is queried in a separate invocation or JSON parsing is added.
Desired behavior
When the input root is absolute, plain glob output should print absolute paths by default, or there should be a flag such as --absolute/--print-absolute.
Activity