mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 06:02:48 +02:00
eeshow/git-file.c (related_other_repo): print warning only once
This commit is contained in:
parent
ab613fcc86
commit
fb6d6c026b
@ -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 related_other_repo(struct vcs_git *vcs_git)
|
||||||
{
|
{
|
||||||
|
static bool shown = 0;
|
||||||
|
|
||||||
/* @@@ find revision <= date of revision in related */
|
/* @@@ 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user