mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
3f900885df
commit
a241393e7b
9 changed files with 63 additions and 9 deletions
2
file.c
2
file.c
|
@ -436,7 +436,7 @@ int parse_file(const char *filename)
|
|||
char *fmt;
|
||||
int ret;
|
||||
|
||||
git = is_git_repository(filename, &branch, NULL);
|
||||
git = is_git_repository(filename, &branch, NULL, false);
|
||||
if (prefs.cloud_git_url &&
|
||||
strstr(filename, prefs.cloud_git_url)
|
||||
&& git == dummy_git_repository)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue