From 3a5f62fcba39032279a0fa44ef72bfae38656677 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 13 Jul 2025 23:07:46 +0300 Subject: fix: change default config path to ~/.config/gitsyncer/config.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add .json extension to default config path for clarity - Update all documentation and help text - Update config search paths to include the new default The new default path is ~/.config/gitsyncer/config.json (previously ~/.config/gitsyncer/config) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/cmd/root.go') diff --git a/internal/cmd/root.go b/internal/cmd/root.go index 927a9b8..bf4f64a 100644 --- a/internal/cmd/root.go +++ b/internal/cmd/root.go @@ -53,7 +53,7 @@ func Execute() { func init() { // Global flags - rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "configuration file (default: ~/.config/gitsyncer/config)") + rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "configuration file (default: ~/.config/gitsyncer/config.json)") // Set default work directory home, err := os.UserHomeDir() -- cgit v1.2.3