From c6d5cb8845134499a541fbadac4b3ae75aee8525 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Wed, 28 May 2014 12:28:13 -0600 Subject: [PATCH] unused vars --- commands/command_init.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/commands/command_init.go b/commands/command_init.go index ef53748c..d72206e2 100644 --- a/commands/command_init.go +++ b/commands/command_init.go @@ -10,13 +10,7 @@ type InitCommand struct { *Command } -var ( - cleanFilterKey = "filter.media.clean" - cleanFilterVal = "git media clean %f" - smudgeFilterKey = "filter.media.smudge" - smudgeFilterVal = "git media smudge %f" - valueRegexp = regexp.MustCompile("\\Agit[\\-\\s]media") -) +var valueRegexp = regexp.MustCompile("\\Agit[\\-\\s]media") func (c *InitCommand) Run() { setFilter("clean")