[rancid] Rancid and Git
Jeffrey Ollie
jeff at ocjtech.us
Mon Jul 21 20:40:13 UTC 2014
On Fri, Jul 18, 2014 at 3:33 PM, heasley <heas at shrubbery.net> wrote:
>
> I've been playing with git a bit to determine how to arrange the repository
> and understand the commands. I find the automatic search for changed files
> unwelcome.
Git should only be automatically searching for changed files if you
are using "git commit -a". My patch didn't do that, it added changed
files to the pending commit individually.
> The original git patch arranges the repository at $BASEDIR (eg: /var/rancid),
> which creates a single repository with all groups.
>
> I experimented with creating a "remote" repository in $BASEDIR, then pushing
> individual groups to it, but they clash, which I suspect has to do with
> either the repository name (git push -u origin master).
That won't quite work the way that you expect... merging multiple
unrelated repositories into one will make for a very confused
repository.
--
Jeff Ollie
More information about the Rancid-discuss
mailing list