[Openstack-docs] git-review vs git review

Akihiro Motoki amotoki at gmail.com
Sun Nov 17 17:36:49 UTC 2013


Hi,

Both git-review and "git review" exists in all systems.
git-review python module installs git-review command.

When "git xxxx" is run, git checks if git-xxxx exists in PATH and
run the command if exists. This is the trick.

For example, create a script /usr/local/bin/git-foo and try "git foo".

$ cat /usr/local/bin/git-foo
#!/bin/bash
date
$ git foo
Mon Nov 18 01:36:08 JST 2013

Thanks,
Akihiro

On Mon, Nov 18, 2013 at 2:19 AM, Gauvain Pocentek
<gauvain.pocentek at objectif-libre.com> wrote:
> Hello Andreas,
>
> Le 17/11/2013 06:06, Andreas Jaeger a écrit :
>
>> Looking at this change, I think there is some good content - and some
>> unneeded one:
>>
>>
>>
>> https://wiki.openstack.org/w/index.php?title=Documentation/HowTo&diff=0&oldid=34956
>>
>> The installation of git-review is fine but the command itself is "git
>> review" - at least on openSUSE. I assume on other distros as well but
>> would like confirmation before somebody reverts those changes for the
>> command...
>
>
> Both git-review and "git review" exist on debian/ubuntu, but I've always
> used the latest.
>
> Gauvain
>
>
> --
> Gauvain Pocentek
>
> Objectif Libre - Infrastructure et Formations Linux
> http://www.objectif-libre.com
>
>
> _______________________________________________
> Openstack-docs mailing list
> Openstack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs



More information about the Openstack-docs mailing list