From fc188935cdb15079af28c737354381a289244156 Mon Sep 17 00:00:00 2001 From: Ben S Date: Tue, 7 Apr 2015 02:40:15 +0100 Subject: [PATCH] Fix panic when using --long without git support Fixes #55. --- src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.rs b/src/options.rs index 6ca987a..9602a77 100644 --- a/src/options.rs +++ b/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"), }) }