[ARVADOS] updated: d1d36072ccb3147249bedf2d542e936e1d1665bc

git at public.curoverse.com git at public.curoverse.com
Mon Sep 22 16:49:57 EDT 2014


Summary of changes:
 sdk/python/setup.py    | 3 ++-
 services/fuse/setup.py | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

       via  d1d36072ccb3147249bedf2d542e936e1d1665bc (commit)
      from  d2f8375b79f4c37f2ab167f5d230d60fc514b1fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d1d36072ccb3147249bedf2d542e936e1d1665bc
Author: Brett Smith <brett at curoverse.com>
Date:   Mon Sep 22 16:51:49 2014 -0400

    Fixup: Use --first-parent in `git log` calls.

diff --git a/sdk/python/setup.py b/sdk/python/setup.py
index ede62d1..7c94c75 100644
--- a/sdk/python/setup.py
+++ b/sdk/python/setup.py
@@ -11,7 +11,8 @@ README = os.path.join(SETUP_DIR, 'README.rst')
 cmd_opts = {'egg_info': {}}
 try:
     git_tag = subprocess.check_output(
-        ['git', 'log', '--format=format:%ci %h', '-n1', SETUP_DIR])
+        ['git', 'log', '--first-parent', '--max-count=1',
+         '--format=format:%ci %h', SETUP_DIR])
 except (OSError, subprocess.CalledProcessError):
     pass
 else:
diff --git a/services/fuse/setup.py b/services/fuse/setup.py
index 026b208..596e356 100644
--- a/services/fuse/setup.py
+++ b/services/fuse/setup.py
@@ -11,7 +11,8 @@ README = os.path.join(SETUP_DIR, 'README.rst')
 cmd_opts = {'egg_info': {}}
 try:
     git_tag = subprocess.check_output(
-        ['git', 'log', '--format=format:%ci %h', '-n1', SETUP_DIR])
+        ['git', 'log', '--first-parent', '--max-count=1',
+         '--format=format:%ci %h', SETUP_DIR])
 except (OSError, subprocess.CalledProcessError):
     pass
 else:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list