From: Rodrigo Silva Mendoza <rodrigosilvamendoza3@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: Best way to update `HEAD` in mirrored repos
Date: Tue, 14 Jun 2022 21:18:51 -0700 [thread overview]
Message-ID: <CANWRddP3eUNiOTL0Jq_MoTXHUQFP430UcnCJBsm8pyqyVgrV1w@mail.gmail.com> (raw)
In-Reply-To: <CANWRddMXrhs2grTfq9NtHM7KqxaFRejvaXxvDGV90_m=Kmm-uA@mail.gmail.com>
On Tue, Jun 14, 2022 at 9:11 PM Rodrigo Silva Mendoza
<rodrigosilvamendoza3@gmail.com> wrote:
> Good news Johannes, your patch worked for me as well! Here's a run
> with the patched code.
>
> $ git --version
> git version 2.37.0.rc0.dirty
> $ git clone git@github.com:xvandish/livegrep-fragment.git --mirror
> $ cd livegrep-fragment
> $ git symbolic-ref HEAD
> refs/heads/good_main_5
....
Whoops, botched the output of the first `git symbolic-ref HEAD` call.
It should be:
$ git symbolic-ref HEAD
refs/heads/good_main_4
Cheers,
Rodrigo
prev parent reply other threads:[~2022-06-15 4:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-08 20:36 Best way to update `HEAD` in mirrored repos Rodrigo Silva Mendoza
2022-06-08 22:53 ` Junio C Hamano
2022-06-09 5:01 ` Rodrigo Silva Mendoza
2022-06-09 8:02 ` Johannes Schindelin
2022-06-09 14:46 ` Rodrigo Silva Mendoza
2022-06-10 21:46 ` Johannes Schindelin
2022-06-10 21:53 ` Junio C Hamano
2022-06-15 4:11 ` Rodrigo Silva Mendoza
2022-06-15 4:18 ` Rodrigo Silva Mendoza [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANWRddP3eUNiOTL0Jq_MoTXHUQFP430UcnCJBsm8pyqyVgrV1w@mail.gmail.com \
--to=rodrigosilvamendoza3@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).