Fix panic when using --long without git support

Fixes #55.
This commit is contained in:
Ben S 2015-04-07 02:40:15 +01:00
parent 4d2d2385c1
commit fc188935cd

View File

@ -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"),
})
}