Skip to content

Commit a0b6652

Browse files
committed
TO-DROP: git revert -m 1 HEAD # Revert "Merge branch 'debug-update-mail-to-commit-notes'
This reverts commit 9f74d7a, reversing changes made to c874d34. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 8232d9d commit a0b6652

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

lib/ci-helper.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -271,23 +271,6 @@ export class CIHelper {
271271
},
272272
);
273273
console.timeEnd("fetch Git notes");
274-
console.time("forcing `gitgitgadget` notes refs back in time");
275-
await git(["update-ref", "refs/notes/gitgitgadget", "07cbd089352a850817060742d649adb4c4c99445"], {
276-
workDir: this.workDir,
277-
});
278-
console.timeEnd("forcing `gitgitgadget` notes refs back in time");
279-
if (setupOptions?.needsMailToCommitNotes) {
280-
console.time("forcing `commit-to-mail` notes refs back in time");
281-
await git(["update-ref", "refs/notes/commit-to-mail", "de5f0ffd77eabc913e560acb4f3303b6e3df4163"], {
282-
workDir: this.workDir,
283-
});
284-
console.timeEnd("forcing `commit-to-mail` notes refs back in time");
285-
console.time("forcing `mail-to-commit` notes refs back in time");
286-
await git(["update-ref", "refs/notes/mail-to-commit", "92b87ef409b0858d188a371a6af30aa477bc549f"], {
287-
workDir: this.workDir,
288-
});
289-
console.timeEnd("forcing `mail-to-commit` notes refs back in time");
290-
}
291274
this.gggNotesUpdated = true;
292275
if (setupOptions?.needsUpstreamBranches) {
293276
console.time("fetch upstream branches");

script/lookup-commit.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ update_gitgit_dir () {
6868
git -C "$GITGIT_DIR" fetch $git_remote refs/notes/commit-to-mail:refs/notes/commit-to-mail ||
6969
die "Could not update refs/notes/commit-to-mail"
7070

71-
git -C "$GITGIT_DIR" update-ref refs/notes/commit-to-mail de5f0ffd77eabc913e560acb4f3303b6e3df4163
72-
git -C "$GITGIT_DIR" update-ref refs/notes/mail-to-commit 92b87ef409b0858d188a371a6af30aa477bc549f
73-
7471
if git -C "$GITGIT_DIR" rev-parse --verify refs/remotes/upstream/seen >/dev/null 2>&1
7572
then
7673
# Let's take 'seen' from the official source at git.git.

script/update-mail-to-commit-notes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ update_gitgit_dir () {
2323
git clone $git_remote "$GITGIT_DIR" ||
2424
die "Could not clone $git_remote to $GITGIT_DIR"
2525

26-
echo git -C "$GITGIT_DIR" fetch $git_remote \
26+
git -C "$GITGIT_DIR" fetch $git_remote \
2727
refs/notes/mail-to-commit:refs/notes/mail-to-commit ||
2828
die "Could not update notes"
2929
}

0 commit comments

Comments
 (0)