From: Oleg Broytman Date: Wed, 30 Mar 2016 22:01:27 +0000 (+0300) Subject: Better comments X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=be308b7b8c887a71e26a8044bba3b334487452b5;p=git-scripts.git Better comments --- diff --git a/set-commit-date-recursive b/set-commit-date-recursive index c70cff5..465f5fa 100755 --- a/set-commit-date-recursive +++ b/set-commit-date-recursive @@ -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\"`" && diff --git a/set-commit-date-repos b/set-commit-date-repos index 69b4aed..f565a1c 100755 --- a/set-commit-date-repos +++ b/set-commit-date-repos @@ -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`" && diff --git a/set-commit-date.py b/set-commit-date.py index 70e3932..9588bd8 100755 --- a/set-commit-date.py +++ b/set-commit-date.py @@ -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