Skip to content

Commit bd0fd94

Browse files
bug #1046 Don't run git hooks when running recipes:update (nicolas-grekas)
This PR was merged into the 2.x branch. Discussion ---------- Don't run git hooks when running recipes:update Fix #939 Commits ------- 9865fc1 Dont run git hooks when running recipes:update
2 parents da41c15 + 9865fc1 commit bd0fd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Update/RecipePatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function generatePatch(array $originalFiles, array $newFiles): RecipePatc
9898
if (\count($originalFiles) > 0) {
9999
$this->writeFiles($originalFiles, $tmpPath);
100100
$this->execute('git add -A', $tmpPath);
101-
$this->execute('git commit -m "original files"', $tmpPath);
101+
$this->execute('git commit -n -m "original files"', $tmpPath);
102102

103103
$blobs = $this->generateBlobs($originalFiles, $tmpPath);
104104
}

0 commit comments

Comments
 (0)