Re: [PATCH 3/5] worktree: teach "repair" to fix outgoing links to worktrees
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Aug 28, 2020, 16:27 UTC
- Message-ID
- <CAPig+cRt3-3g+GSDD9q6NkoaejwgKMPk6nuc+Lax9y8_ZFzZ6Q@mail.gmail.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.2008280413450.56@tvgsbejvaqbjf.bet>
On Fri, Aug 28, 2020 at 8:55 AM Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 5 quoted lines
> On Thu, 27 Aug 2020, Eric Sunshine wrote: > > + struct strbuf main = STRBUF_INIT; > > This is needed to shut up GCC's "‘main’ is usually a function > [-Werror=main]" error.
D'oh, thanks. I got hit by this just a couple months ago[1] and (for some reason) was even looking at [1] the same day I submitted this patch. Will fix it in the re-roll.
[1]: https://lore.kernel.org/git/20200610063049.74666-1-sunshine@sunshineco.com/