1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 08:38:58 +02:00

eeshow/git-file.c (related_other_repo): print warning only once

This commit is contained in:
Werner Almesberger 2016-08-10 16:03:16 -03:00
parent ab613fcc86
commit fb6d6c026b

View File

@ -402,8 +402,13 @@ static bool related_same_repo(struct vcs_git *vcs_git)
static bool related_other_repo(struct vcs_git *vcs_git)
{
static bool shown = 0;
/* @@@ find revision <= date of revision in related */
fprintf(stderr, "warning: related_other_repo is not yet implemented\n");
if (!shown)
fprintf(stderr,
"warning: related_other_repo is not yet implemented\n");
shown = 1;
return 0;
}