We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa27c0a commit fafe7b3Copy full SHA for fafe7b3
contrib/devtools/fix-copyright-headers.py
@@ -16,7 +16,7 @@
16
import re
17
18
year = time.gmtime()[0]
19
-CMD_GIT_DATE = 'git log --format=@%%at -1 %s | date +"%%Y" -u -f -'
+CMD_GIT_DATE = 'git log --format=%%ad --date=short -1 %s | cut -d"-" -f 1'
20
CMD_REGEX= "perl -pi -e 's/(20\d\d)(?:-20\d\d)? The Bitcoin/$1-%s The Bitcoin/' %s"
21
REGEX_CURRENT= re.compile("%s The Bitcoin" % year)
22
CMD_LIST_FILES= "find %s | grep %s"
0 commit comments