We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b989e99 commit d4afedbCopy full SHA for d4afedb
gix/src/object/tree/iter.rs
@@ -50,9 +50,9 @@ impl std::fmt::Display for EntryRef<'_, '_> {
50
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
51
write!(
52
f,
53
- "{:06o} {:>6} {}\t{}",
54
- *self.mode(),
55
- self.mode().as_str(),
+ "{:>6o} {:>6} {}\t{}",
+ self.mode(),
+ self.mode().kind().as_descriptive_str(),
56
self.id().shorten_or_id(),
57
self.filename()
58
)
0 commit comments