diff options
author | Ben S <ogham@bsago.me> | 2015-01-27 15:01:17 +0000 |
---|---|---|
committer | Ben S <ogham@bsago.me> | 2015-01-27 15:01:17 +0000 |
commit | 90d4684de4d64fadcd4025c2c86e5c82857f6cd0 (patch) | |
tree | 3b47fc1594bf17cd096b0d94101ce9e20c5fc132 /src/column.rs | |
parent | e835fe8fe352751e6ca03c1edf31705c3abe61f4 (diff) |
Preliminary Git support!
This is something that I've long wanted to add. It uses libgit2 as an optional dependency.
Diffstat (limited to 'src/column.rs')
-rw-r--r-- | src/column.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/column.rs b/src/column.rs index 8e97aac..210e69e 100644 --- a/src/column.rs +++ b/src/column.rs @@ -12,6 +12,8 @@ pub enum Column { Group, HardLinks, Inode, + + GitStatus, } #[derive(PartialEq, Debug, Copy)] @@ -37,6 +39,7 @@ impl Column { Column::HardLinks => Alignment::Right, Column::Inode => Alignment::Right, Column::Blocks => Alignment::Right, + Column::GitStatus => Alignment::Right, _ => Alignment::Left, } } @@ -53,6 +56,7 @@ impl Column { Column::Group => "Group", Column::HardLinks => "Links", Column::Inode => "inode", + Column::GitStatus => "Git", } } } |