mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-06-03 10:55:20 +02:00
Merge branch 'sr/fix-file-used-in-version-calculation'
Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
commit
d8e858aeca
|
@ -1597,7 +1597,7 @@ class GitUtils(object):
|
|||
|
||||
@staticmethod
|
||||
def print_my_version():
|
||||
with open(sys.argv[0], 'br') as f:
|
||||
with open(__file__, 'br') as f:
|
||||
contents = f.read()
|
||||
# If people replaced @@LOCALEDIR@@ string to point at their local
|
||||
# directory, undo it so we can get original source version.
|
||||
|
|
Loading…
Reference in New Issue
Block a user