1 |
On Mon, 5 Dec 2016 13:00:36 -0800 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
|
4 |
> On 12/05/2016 12:41 PM, Brian Dolbec wrote: |
5 |
> > From 5074b2bfb36b6b9117f188588da55de3b5c01435 Mon Sep 17 00:00:00 |
6 |
> > 2001 From: Brian Dolbec <dolsen@g.o> |
7 |
> > Date: Mon, 5 Dec 2016 11:56:02 -0800 |
8 |
> > Subject: [PATCH] portage/__init__.py: Fix live versioning to look |
9 |
> > for portage tags only |
10 |
> > |
11 |
> > --- |
12 |
> > pym/portage/__init__.py | 2 +- |
13 |
> > 1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
> > |
15 |
> > diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py |
16 |
> > index 057dc6b..c8e8b56 100644 |
17 |
> > --- a/pym/portage/__init__.py |
18 |
> > +++ b/pym/portage/__init__.py |
19 |
> > @@ -631,7 +631,7 @@ if VERSION == 'HEAD': |
20 |
> > return VERSION |
21 |
> > if |
22 |
> > os.path.isdir(os.path.join(PORTAGE_BASE_PATH, '.git')): encoding = |
23 |
> > _encodings['fs'] |
24 |
> > - cmd = [BASH_BINARY, "-c", ("cd |
25 |
> > %s ; git describe --tags || exit $? ; " + \ |
26 |
> > + cmd = [BASH_BINARY, "-c", ("cd |
27 |
> > %s ; git describe --match 'portage-*' || exit $? ; " + \ "if [ -n |
28 |
> > \"`git diff-index --name-only --diff-filter=M HEAD`\" ] ; " + \ |
29 |
> > "then echo modified ; git rev-list --format=%%ct -n 1 HEAD ; fi ; " |
30 |
> > + \ "exit 0") % _shell_quote(PORTAGE_BASE_PATH)] |
31 |
> |
32 |
> LGTM |
33 |
|
34 |
merged. |
35 |
|
36 |
-- |
37 |
Brian Dolbec <dolsen> |