Print paths to internal files in verbose mode

When run with -v option, this prints local file names like the path
to the local git repository and the hash file.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2015-09-23 11:13:07 +02:00 committed by Dirk Hohndel
parent 3f900885df
commit a241393e7b
9 changed files with 63 additions and 9 deletions

View file

@ -662,7 +662,7 @@ int save_dives_logic(const char *filename, const bool select_only)
const char *branch, *remote;
int error;
git = is_git_repository(filename, &branch, &remote);
git = is_git_repository(filename, &branch, &remote, false);
if (git)
return git_save_dives(git, branch, remote, select_only);