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

Re: git-pull.sh's bad mode

From
Junio C Hamano <junkio@cox.net>
Date
Nov 8, 2005, 19:30 UTC
Message-ID
<7vhdaney4d.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20051108163546.GC1431@pasky.or.cz>
Petr Baudis <pasky@suse.cz> writes:
Show 8 quoted lines
>> Makefile installs git-pull with executable bit set anyway, so it
>> really does not matter.
>
> But it should definitely be fixed. E.g. I actually personally use (for
> Cogito development) git-core which I never make install (I have
> system-wide git-core installation which is just whatever is the latest
> version Gentoo ships, and I use that for non-Cogito development).
> It would be painful if this mode of usage wouldn't be supported.

You could perhaps do "make" without install and set PATH to include the source directory (you need to do a bit more if we ever update templates/ directory and you would want to try it).

The point is that git-pull was generated with +x from git-pull.sh, and the mode bits of git-pull.sh (source) does not matter anymore. It used to matter back when we called them git-*-script but not these days.

Previous: Petr BaudisNext: Petr Baudis
Message 4 of 5 in “git-pull.sh's bad mode”
  1. Jon LoeligerNov 8, 2005
  2. Junio C HamanoNov 8, 2005
  3. Petr BaudisNov 8, 2005
  4. Junio C HamanoNov 8, 2005
  5. Petr BaudisNov 8, 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.