On Tue, May 13, 2014 at 1:15 PM, Nguyễn Thái Ngọc Duy <pclo...@gmail.com> wrote:
> diff --git a/Documentation/git-read-cache--daemon.txt 
> b/Documentation/git-read-cache--daemon.txt
> new file mode 100644
> index 0000000..1b05be4
> --- /dev/null
> +++ b/Documentation/git-read-cache--daemon.txt
> @@ -0,0 +1,27 @@
> +git-read-cache--daemon(1)
> +=============
> +
> +NAME
> +----
> +git-daemon - A simple cache server for speeding up index file access
> +
> +SYNOPSIS
> +--------
> +[verse]
> +'git daemon' [--detach]
> +

Huh, "git daemon" can't be right...

> diff --git a/Makefile b/Makefile
> index d0a2b4b..a44ab0b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1504,6 +1504,12 @@ ifdef HAVE_DEV_TTY
>         BASIC_CFLAGS += -DHAVE_DEV_TTY
>  endif
>
> +ifdef HAVE_SHM
> +       BASIC_CFLAGS += -DHAVE_SHM
> +       EXTLIBS += -lrt
> +       PROGRAM_OBJS += read-cache--daemon.o
> +endif

I think this also needs to be protected against NO_UNIX_SOCKETS
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to