Skip to content

Commit f19f5e6

Browse files
moygitster
authored andcommitted
git-remote-mediawiki: no need to update private ref in non-dumb push
We used to update the private ref ourselves, but this update is now done by default since 664059f (transport-helper: update remote helper namespace, 2013-04-17). Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent aa38dc6 commit f19f5e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

contrib/mw-to-git/git-remote-mediawiki.perl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,6 @@ sub mw_push_revision {
12141214
}
12151215
if (!$dumb_push) {
12161216
run_git(qq(notes --ref=${remotename}/mediawiki add -f -m "mediawiki_revision: ${mw_revision}" ${sha1_commit}));
1217-
run_git(qq(update-ref -m "Git-MediaWiki push" refs/mediawiki/${remotename}/master ${sha1_commit} ${sha1_child}));
12181217
}
12191218
}
12201219

0 commit comments

Comments
 (0)