62c5df5761a64f22a4e6b797fd832db54d48c000,PyInstaller/utils/git.py,,get_repo_revision,#,24

Before Change


            pass
        return ""
    try:
        rev = exec_command("git", "rev-parse", "--short", "HEAD", cwd=cwd).strip()
        if rev:
            // need to update index first to get reliable state
            exec_command_rc("git", "update-index", "-q", "--refresh", cwd=cwd)

After Change


    try:
        // need to update index first to get reliable state
        exec_command_rc("git", "update-index", "-q", "--refresh", cwd=cwd)
        recent = exec_command("git", "describe", "--long", "--dirty", cwd=cwd).strip()
        tag, changes, rev = recent.rsplit("-", 2)
        if changes == "0":
            return ""
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 62c5df5761a64f22a4e6b797fd832db54d48c000
Time: 2016-01-21
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/git.py
Class Name:
Method Name: get_repo_revision


Project Name: pyinstaller/pyinstaller
Commit Name: f605c18baf0565c1ba850e4f7670a652f61c098c
Time: 2016-01-21
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/utils/git.py
Class Name:
Method Name: get_repo_revision


Project Name: pyinstaller/pyinstaller
Commit Name: b635a48eee00dde2e3de53c7ba726460593baf81
Time: 2015-09-18
Author: mzibr.public@gmail.com
File Name: PyInstaller/utils/release.py
Class Name:
Method Name: sign_source_distribution