You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Desktop: remove branch name in detached head state (#4636)
This commit is contained in:
committed by
GitHub
parent
6496172aed
commit
3e9cb1d4fd
@@ -7,6 +7,7 @@ export default function versionInfo(packageInfo: any) {
|
||||
let gitInfo = '';
|
||||
if ('git' in p) {
|
||||
gitInfo = _('Revision: %s (%s)', p.git.hash, p.git.branch);
|
||||
if (p.git.branch === 'HEAD') gitInfo = gitInfo.slice(0, -7);
|
||||
}
|
||||
const copyrightText = 'Copyright © 2016-YYYY Laurent Cozic';
|
||||
const now = new Date();
|
||||
|
||||
Reference in New Issue
Block a user