From 8d512419cc137a2c5f9fa8a1d77fa60e1474f4a6 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 6 Dec 2014 17:47:56 -0500 Subject: git-checkout-store: .git-checkout-historyrc -> .git-checkout-history Rename the data file because it's not actually an rc file, it's a data storage file. --- git-checkout-store/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-checkout-store/main.go') diff --git a/git-checkout-store/main.go b/git-checkout-store/main.go index 45ea0da..f8ab43a 100644 --- a/git-checkout-store/main.go +++ b/git-checkout-store/main.go @@ -25,7 +25,7 @@ func getHomeDir() string { } func OpenRCFile() (f *os.File, err error) { - file_path := getHomeDir() + "/.git-checkout-historyrc" + file_path := getHomeDir() + "/.git-checkout-history" if _, err := os.Stat(file_path); os.IsNotExist(err) { return os.Create(file_path) } else { @@ -41,7 +41,7 @@ func store(branch string) { } rcfile.Close() - file_path := getHomeDir() + "/.git-checkout-historyrc" + file_path := getHomeDir() + "/.git-checkout-history" data, err := ioutil.ReadFile(file_path) if err != nil { log.Fatal(err) -- cgit v1.2.3