diff options
author | flow <flowlnlnln@gmail.com> | 2023-06-17 11:04:36 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-06-17 11:09:05 -0300 |
commit | 2d00a727f6ea0ae8c39a1d915b6a9c4db2b84a30 (patch) | |
tree | 64489abdcdc53ecd14006fb2ecc6f1202609f947 /buildconfig/BuildConfig.cpp.in | |
parent | fd9a8d1551e5736aff6da10d8d00cc631c6d6ee0 (diff) | |
download | PrismLauncher-2d00a727f6ea0ae8c39a1d915b6a9c4db2b84a30.tar.gz PrismLauncher-2d00a727f6ea0ae8c39a1d915b6a9c4db2b84a30.tar.bz2 PrismLauncher-2d00a727f6ea0ae8c39a1d915b6a9c4db2b84a30.zip |
fix: hide git commit when the build doesn't have git stuff support
This fixes the Git commit string being "GITDIR-NOTFOUND" on the About
page when building a package from the bundled source archive.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'buildconfig/BuildConfig.cpp.in')
-rw-r--r-- | buildconfig/BuildConfig.cpp.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 35373189..8a412b7f 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -82,6 +82,7 @@ Config::Config() { GIT_REFSPEC = "refs/heads/stable"; GIT_TAG = versionString(); + GIT_COMMIT = ""; } if (GIT_REFSPEC.startsWith("refs/heads/")) |