Re: Update the tag database when a single source file is modified

"Shigio YAMAGUCHI" <[email protected]> Wed, 25 Feb 2009 17:42:16 +0900
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
Hi,
> change a file in my editor, I'd like to tell Global to update the tag
> database only for this file. I don't want Global to rescan the
> project, or even the local directory, because I know that this is the
> only modified file, so there is no reason to do more work.

You can do it by the -u command of global(1).

$ vi file.c
$ global -u
$ _

If you want to know what has occurred, please add
the -v (verbose) option.
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3