]> git.phdru.name Git - git-scripts.git/commitdiff
Better comments
authorOleg Broytman <phd@phdru.name>
Wed, 30 Mar 2016 22:01:27 +0000 (01:01 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 30 Mar 2016 22:01:27 +0000 (01:01 +0300)
set-commit-date-recursive
set-commit-date-repos
set-commit-date.py

index c70cff5b840d039eed7f5ea471a9052d4432014a..465f5fab4c36c7ca6e4c6f45b4d58a03b561e4b6 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# Call set-commit-date on all submodules.
+# Call set-commit-date on the repo and all submodules
 
 prog_dir="`dirname \"$0\"`" &&
 
index 69b4aed98950da0c1cef8f93fb946282945c3d32..f565a1cd277ee4af5c397d55ed64431c55d7716a 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# Call set-commit-date-recursive on all repositories.
+# Call set-commit-date-recursive on all repositories
 
 cd "`dirname \"$0\"`" &&
 prog_dir="`pwd`" &&
index 70e393296053605689794d6aae43a7df67c7806d..9588bd87aa26e991006637b3e7779c2df82ffa99 100755 (executable)
@@ -30,7 +30,7 @@ while True:
             continue
         stage = 4
         assert line == '', line
-    elif not line:
+    elif not line:  # EOF
         break
     elif stage == 4:
         filename = line