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

Re: [PATCH/RFC 3/4] git-mw: Adding git-mw.perl script

From
Jeff King <peff@peff.net>
Date
Jun 24, 2013, 17:00 UTC
Message-ID
<20130624170056.GA24251@sigill.intra.peff.net>
In-Reply-To
<vpqy59zsb0u.fsf@anie.imag.fr>
On Mon, Jun 24, 2013 at 06:56:17PM +0200, Matthieu Moy wrote:
Show 10 quoted lines
> > Good eyes.  But if we encourage people to run non-*.perl version,
> > perhaps we should drop the executable bit from the source, no?
> 
> But by default, I'd say consistency is most important so if other *.perl
> are executable, we should do the same (otherwise my "ls" shows different
> colors and it's ugly ;-) ).
> 
> But it may make sense to change the convention, i.e. run a "chmod -x
> *.perl" in Git's tree (in any case, people can still run "perl
> foo.perl").

You'd probably want to also change the shell scripts, too, which are marked executable in the repo (but the source-able shell "libraries" are not).

I don't remember the details, but I think there may be some magic with the --valgrind test option that depends on the executable bit to distinguish those two.

-Peff
Previous: Matthieu MoyNext: Benoit Person
Message 12 of 17 in “git-remote-mediawiki: new tool to preview local changes without pushing”
  1. 0/4 git-remote-mediawiki: new tool to preview local changes without pushingbenoit.person@ensimag.fr, Jun 13, 2013
  2. 1/4 git-mw: Introduction of GitMediawiki.pmbenoit.person@ensimag.fr, Jun 13, 2013
  3. Matthieu MoyJun 13, 2013
  4. 2/4 git-mw: Moving some functions from git-remote-mediawiki.perl to GitMediawiki.pmbenoit.person@ensimag.fr, Jun 13, 2013
  5. 3/4 git-mw: Adding git-mw.perl scriptbenoit.person@ensimag.fr, Jun 13, 2013
  6. Matthieu MoyJun 13, 2013
  7. Benoît PersonJun 15, 2013
  8. Matthieu MoyJun 16, 2013
  9. Matthieu MoyJun 24, 2013
  10. Junio C HamanoJun 24, 2013
  11. Matthieu MoyJun 24, 2013
  12. Jeff KingJun 24, 2013
  13. Benoit PersonJun 24, 2013
  14. Junio C HamanoJun 24, 2013
  15. 4/4 git-mw: Adding preview tool in git-mw.perlbenoit.person@ensimag.fr, Jun 13, 2013
  16. Matthieu MoyJun 13, 2013
  17. Matthieu MoyJun 13, 2013

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.