aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gitmirror/files/on-the-pull
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gitmirror/files/on-the-pull')
-rwxr-xr-xmodules/gitmirror/files/on-the-pull4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gitmirror/files/on-the-pull b/modules/gitmirror/files/on-the-pull
index ec2f979b..416b75a4 100755
--- a/modules/gitmirror/files/on-the-pull
+++ b/modules/gitmirror/files/on-the-pull
@@ -176,7 +176,7 @@ class GitUpdater(Thread):
raise Exception(f"Clone folder '{clonefolder}' appears to be a file :s")
if changed and self.cmd:
- # Udate the info/web/last-modified file as used by cgit
+ # Update the info/web/last-modified file as used by cgit
os.chdir(clonefolder)
command = [self.cmd, repo]
if treeish:
@@ -320,7 +320,7 @@ e.g. curl --header 'Content-Type: x-git/repo' --data 'my/repo/name' http://local
help="The branch to track on clone. If you pass '--mirror' (the default) as the branch name we will clone as a bare mirror")
parser.add_option("-c", "--cmd",
type="string", dest="cmd", default="",
- help="Third party command to exectue after updates. It will execute in the "
+ help="Third party command to execute after updates. It will execute in the "
"folder of the repo and if we're not in mirror mode, a treeish will be "
"passed as the only argument containing the refs that changed otherwise "
"the command will be run without any arguments")