-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ostree ls: Accept any treeish in place of COMMIT
This is a generalisation of ostree ls to be consistent with other places we accept a treeish. It doesn't behave quite as you might expect: the printed paths are always relative to the commit root rather than to the treeish passed in. So: ostree ls :rootfs:usr/bin systemd Prints: -00755 0 0 12345 /usr/bin/systemd rather than -00755 0 0 12345 systemd as you might expect. I think it would be nice to change this behaviour, but it would be backwards-incompatible so it can't happen.
- Loading branch information
Showing
3 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters