{"thread":{"id":"14067","subject":"[PATCH] Correct documentation for git-push --mirror","startedAt":"2008-06-21T03:25:25Z","lastAt":"2008-06-21T03:25:25Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"80530","messageId":"20080621032525.GA10020@spearce.org","threadId":"14067","inReplyTo":null,"subject":"[PATCH] Correct documentation for git-push --mirror","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-06-21T03:25:25Z","receivedAt":"2008-06-21T03:25:25Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"This option behaves more like:\n\n  git push $url +refs/*:refs/*\n\nthen it does like:\n\n  git push $url +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/*\n\nso we should document it to be more clear about that.\n\nSuggested-by: Marek Zawirski <marek.zawirski@gmail.com>\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n Documentation/git-push.txt |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-push.txt b/Documentation/git-push.txt\nindex 89e0049..f3d5d88 100644\n--- a/Documentation/git-push.txt\n+++ b/Documentation/git-push.txt\n@@ -67,7 +67,8 @@ nor in any Push line of the corresponding remotes file---see below).\n \n --mirror::\n \tInstead of naming each ref to push, specifies that all\n-\trefs under `$GIT_DIR/refs/heads/` and `$GIT_DIR/refs/tags/`\n+\trefs under `$GIT_DIR/refs/` (which includes but is not\n+\tlimited to `refs/heads/`, `refs/remotes/`, and `refs/tags/`)\n \tbe mirrored to the remote repository.  Newly created local\n \trefs will be pushed to the remote end, locally updated refs\n \twill be force updated on the remote end, and deleted refs\n-- \n1.5.6.153.g07215\n"}]}