git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Re: Re: Re: Remove need to untrack before tracking new branch

From
Alex Riesen <raa.lkml@gmail.com>
Date
Apr 15, 2005, 23:49 UTC
Message-ID
<81b0412b050415164958cadbe8@mail.gmail.com>
In-Reply-To
<1113543914.23299.151.camel@nosferatu.lan>
On 4/15/05, Martin Schlemmer <azarah@nosferatu.za.org> wrote:
Show 8 quoted lines
> > > +               if (update_mode && changed & MODE_CHANGED)
> > > +                       chmod(ce->name, ce->st_mode);
> >
> > it's "if ((update_mode && changed) & MODE_CHANGED)"
> > Did you really mean that?
> 
> No, '&' have a higher priority (weight?) than '&&'.  Although, yes, it
> might be better style to add brackets.
I wasn't concerned about style
> But just to make you happy, let me prove it:

It's not to make me happy, it's just to prove you're right. You did it, I stand corrected.

Previous: Paul JacksonNext: Petr Baudis
Message 11 of 16 in “Re: Re: Re: Remove need to untrack before tracking new branch”
  1. Petr BaudisApr 13, 2005
  2. Martin SchlemmerApr 14, 2005
  3. Martin SchlemmerApr 14, 2005
  4. Martin SchlemmerApr 14, 2005
  5. Petr BaudisApr 14, 2005
  6. Martin SchlemmerApr 14, 2005
  7. Martin SchlemmerApr 14, 2005
  8. Alex RiesenApr 14, 2005
  9. Martin SchlemmerApr 15, 2005
  10. Paul JacksonApr 15, 2005
  11. Alex RiesenApr 15, 2005
  12. Petr BaudisApr 14, 2005
  13. Martin SchlemmerApr 14, 2005
  14. Petr BaudisApr 14, 2005
  15. Martin SchlemmerApr 14, 2005
  16. Martin SchlemmerApr 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.