Re: Older git hooks for linux-2.4

From: Marcelo Tosatti
Date: Fri Jun 16 2006 - 13:19:02 EST


On Fri, Jun 16, 2006 at 04:16:37PM +1000, Keith Owens wrote:
> rsync rsync://rsync.kernel.org/pub/scm/linux/kernel/git/marcelo/linux-2.4.git/
>
> has hooks that do not match the current git template hooks.
>
> git-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/marcelo/linux-2.4.git/
>
> appears to install the hooks from the local template directory, rather
> than cloning from the remote repository. Is the difference between the
> rsync and git-clone commands an expected behaviour?

Think so, git-clone does git-init-db, without specifying template directory.

git-init-db [--template=<template_directory>] [--shared]

OPTIONS
--template=<template_directory>
Provide the directory from which templates will be used. The
default template directory is /usr/share/git-core/templates.

> And should the
> hooks in /pub/scm/linux/kernel/git/marcelo/linux-2.4.git be updated to
> match the current git templates?

Yep.. thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/