Re: [Nagios-devel] Nagios development moving forward

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios development moving forward

Post by Guest »

Hi,

-------- Original-Nachricht --------
> Datum: Thu, 29 Apr 2010 20:46:32 +0200
> Von: Andreas Ericsson
> Betreff: [Nagios-devel] Nagios development moving forward
>
>
> Those of you who are git-savvy since before can try
>
> git log -p --grep="fix.*#$bug_id_without_leading_zeroes" dev
>
> in a repo cloned from mine and it'll show you the commits that
> are responsible for fixing your problem.
>

I only get

fatal: ambiguous argument 'dev': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

when issuing this command.
I have to add "origin/" to the branch, so the command I use is

git log -p --grep="fix.*#$bug_id_without_leading_zeroes" origin/dev

It took me some minutes to figure that out, and maybe someone else
will find this information helpful.

By the way, the command 'git log -p --grep="fix.*#8" origin/dev'
lists all bug ids beginning with 8 (8, 80, 81, 84394 etc.)
so if you're looking for the given bug id only, you can use:

git log -p --grep="fix.*#$bug_id_without_leading_zeroes[^0-9]" origin/dev

At the moment there is not much difference because there's
only one bug id beginning with 8 (80) for example.


Regards
Bernd


--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked