Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-11-25 14:25:35 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-11-25 14:25:35 +0400
commit551f3eef7403ffcd8838e1034ec1770bf3d37b7d (patch)
tree3b79d4f130724611959fc6423ded8ec29773b6f5 /build_files/scons/tools
parentb2c1bb74b213db28a5c45f16813ca14ee985a9fe (diff)
Show hash from latest pushed commit in buildinfo
Before this hash of latest local commit was used, which is not so much useful since nobody can access that commit hash.
Diffstat (limited to 'build_files/scons/tools')
-rw-r--r--build_files/scons/tools/Blender.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/scons/tools/Blender.py b/build_files/scons/tools/Blender.py
index 894c8dbca25..9d1a6390774 100644
--- a/build_files/scons/tools/Blender.py
+++ b/build_files/scons/tools/Blender.py
@@ -419,7 +419,7 @@ def buildinfo(lenv, build_type):
build_commit_timestamp = '0'
build_branch = 'unknown'
else:
- build_hash = os.popen('git rev-parse --short HEAD').read().strip()
+ build_hash = os.popen('git rev-parse --short @{u}').read().strip()
build_branch = os.popen('git rev-parse --abbrev-ref HEAD').read().strip()
# ## Check for local modifications