[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTags single file update feature proposal
From: |
Pavel Nedev |
Subject: |
Re: GTags single file update feature proposal |
Date: |
Fri, 13 Mar 2015 10:30:29 +0200 (EET) |
Thank you.
Best Regards,
Pavel
>-------- Оригинално писмо --------
>От: Shigio YAMAGUCHI address@hidden
>Относно: Re: GTags single file update feature proposal
>До: Pavel Nedev <address@hidden>
>Изпратено на: 13.03.2015 02:59
>
>
>
>
>
> Hi,
>
>
> Now gtags(1) in the repository supports deletion with the --single-update
> option.
>
>
> Please try if you are interested. Thank you.
>
>
>
>
>
> Regards,
>
>
> Shigio
>
>
>
>
>
>
>
> 2015-03-12 10:23 GMT+09:00 Shigio YAMAGUCHI
> :
>
>
>
>
> Hi,
>
>
> You are right. I forgot this issue.
>
>
> Current --single-update option supports only addition and updating.
>
>
> It should support deletion, and will support it.
>
>
> Thank you for the advice!
>
>
>
>
>
> Regards,
>
>
> Shigio
>
>
>
>
>
>
>
>
>
>
> 2015-03-12 0:55 GMT+09:00 Pavel Nedev
> :
>
>
> Hi,
>
> I was experimenting recently with gtags --single-update option and I noticed
> that if the file given does not exist gtags returns error message and does
> nothing more.
>
> Here is the specific use case:
>
> - I have project database generated with 'gtags -c'
> - I delete file from the project (let's say it is test.cpp)
> - I want to update database only for this file as only it is changed
> (completely removed) so I do:
>
> gtags -c --single-update test.cpp
>
> At this point gtags returns error message saying that the file does not
> exist.
> I was expecting that gtags will update the database removing all references
> for test.cpp (path from GPATH and all symbols found inside test.cpp).
> I don't know if this is feasible but it would be very nice feature (and is
> very intuitive also IMO).
>
> Thank you for the support!
>
> Best Regards,
> Pavel
>
> _______________________________________________
> Bug-global mailing list
>
> address@hidden
>
> https://lists.gnu.org/mailman/listinfo/bug-global
>
>
>
>
>
>
>
>
>
>
> --
>
>
> Shigio YAMAGUCHI <
> address@hidden>
>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
>
>
>
>
>
>
>
>
>
>
>
> --
>
>
>
> Shigio YAMAGUCHI <
> address@hidden>
>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
>
>
>
>
>
>
>