Browse Source

Fix panic when using --long without git support

Fixes #55.
Ben S 11 years ago
parent
commit
fc188935cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/options.rs

+ 1 - 1
src/options.rs

@@ -512,7 +512,7 @@ impl Columns {
             links:  matches.opt_present("links"),
             blocks: matches.opt_present("blocks"),
             group:  matches.opt_present("group"),
-            git:    matches.opt_present("git"),
+            git:    cfg!(feature="git") && matches.opt_present("git"),
         })
     }