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

Re: [PATCH] git-daemon: timeout, eliminate double DWIM

From
Petr Baudis <pasky@suse.cz>
Date
Oct 20, 2005, 00:28 UTC
Message-ID
<20051020002845.GT30889@pasky.or.cz>
In-Reply-To
<4356966A.8010401@zytor.com>

Dear diary, on Wed, Oct 19, 2005 at 08:54:34PM CEST, I got a letter where "H. Peter Anvin" <hpa@zytor.com> told me that...

Show 14 quoted lines
> diff --git a/daemon.c b/daemon.c
> --- a/daemon.c
> +++ b/daemon.c
> @@ -13,7 +13,9 @@
>  static int log_syslog;
>  static int verbose;
>  
> -static const char daemon_usage[] = "git-daemon [--verbose] [--syslog] [--inetd | --port=n] [--export-all] [directory...]";
> +static const char daemon_usage[] =
> +"git-daemon [--verbose] [--syslog] [--inetd | --port=n] [--export-all]\n"
> +"           [--timeout=n] [--init-timeout=n] [directory...]";
>  
>  /* List of acceptable pathname prefixes */
>  static char **ok_paths = NULL;
You didn't update Documentation/git-daemon.txt.
Show 9 quoted lines
> diff --git a/upload-pack.c b/upload-pack.c
> --- a/upload-pack.c
> +++ b/upload-pack.c
> @@ -4,13 +4,19 @@
>  #include "tag.h"
>  #include "object.h"
>  
> -static const char upload_pack_usage[] = "git-upload-pack <dir>";
> +static const char upload_pack_usage[] = "git-upload-pack [--strict] [--timeout=nn] <dir>";
Ditto.

After being confronted with incomplete documentation again just minutes ago (will send patch soon), I think I'm going to start to be annoying and watch patches for this issue specifically. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: H. Peter AnvinNext: Junio C Hamano
Message 2 of 4 in “git-daemon: timeout, eliminate double DWIM”
  1. git-daemon: timeout, eliminate double DWIMH. Peter Anvin, Oct 19, 2005
  2. Petr BaudisOct 20, 2005
  3. Junio C HamanoOct 20, 2005
  4. Petr BaudisOct 20, 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.