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

Re: [PATCH] cogito: Honor either post-commit script name; fail if both are executable

From
Petr Baudis <pasky@suse.cz>
Date
Oct 27, 2006, 02:05 UTC
Message-ID
<20061027020549.GY20017@pasky.or.cz>
In-Reply-To
<874ptzhsjs.fsf@rho.meyering.net>
  Hi!

Dear diary, on Fri, Oct 20, 2006 at 06:15:51PM CEST, I got a letter where Jim Meyering <jim@meyering.net> said that...

Show 7 quoted lines
> I promised this patch some time ago, made the changes,
> and then never sent them.  This is slightly different
> from the current implementation in that it fails when both
> scripts are executable.  Also, it factors out the script names and
> adds tests.
> 
> Signed-off-by: Jim Meyering <jim@meyering.net>
  I'm not sure I like this (of course, I always like additional tests,
though). The problem is that this loses a smooth upgrade path, things
suddenly break and you can't commit without having to think about fixing
your environment. We should always give users enough time for that with
deprecation warnings. So if we want to get rid of commit-post, we should
rather start printing deprecation warnings if commit-post exists, and in
few months cut commit-post off.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
Previous: Jim MeyeringNext: Jim Meyering
Message 2 of 3 in “cogito: Honor either post-commit script name; fail if both are executable”
  1. cogito: Honor either post-commit script name; fail if both are executableJim Meyering, Oct 20, 2006
  2. Petr BaudisOct 27, 2006
  3. Jim MeyeringOct 27, 2006

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.