* old_path, the ':' at the end will let 'man' to try
* system-wide paths after ours to find the manual page. If
* there is old_path, we need ':' as delimiter. */
* old_path, the ':' at the end will let 'man' to try
* system-wide paths after ours to find the manual page. If
* there is old_path, we need ':' as delimiter. */
strbuf_addch(&new_path, ':');
if (old_path)
strbuf_addstr(&new_path, old_path);
strbuf_addch(&new_path, ':');
if (old_path)
strbuf_addstr(&new_path, old_path);
execlp("info", "info", "gitman", page, NULL);
}
execlp("info", "info", "gitman", page, NULL);
}