We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aec8793 commit 9fe04dbCopy full SHA for 9fe04db
1 file changed
source/scripts/update_copyright.tcl
@@ -563,8 +563,9 @@ proc get_year_range_from_git {filename} {
563
564
# @todo need to call open and close in a catch block and check for error
565
set dir [file dirname $filename]
566
+ set gitfile [file tail $filename]
567
set years {}
- set f [open |[list git -C $dir log --follow --since=2023 --pretty=format:%as\ %an -- $filename] "r"]
568
+ set f [open |[list git -C $dir log --follow --since=2023 --pretty=format:%as -- $gitfile] "r"]
569
while {[gets $f line] >= 0} {
570
set year [lindex [split [lindex [split $line " "] 0] "-"] 0]
571
lappend years $year
0 commit comments