From 938db690a8951d56b660d4d3326afc25e9a8252e Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Fri, 10 Feb 2017 02:33:49 +0000 Subject: [PATCH] --- ...ks_samples_as_well_as_stock_git__63__.mdwn | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 doc/bugs/could_standalone_copy_of_git_ship__47__deploy_hooks_samples_as_well_as_stock_git__63__.mdwn diff --git a/doc/bugs/could_standalone_copy_of_git_ship__47__deploy_hooks_samples_as_well_as_stock_git__63__.mdwn b/doc/bugs/could_standalone_copy_of_git_ship__47__deploy_hooks_samples_as_well_as_stock_git__63__.mdwn new file mode 100644 index 0000000000..8c75cc7692 --- /dev/null +++ b/doc/bugs/could_standalone_copy_of_git_ship__47__deploy_hooks_samples_as_well_as_stock_git__63__.mdwn @@ -0,0 +1,59 @@ +### Please describe the problem. + +ATM, if bundled git is used instead of system-wide available (e.g. standalone git-annex's PATH is preceding system's /usr/bin), then user running 'git init' uses bundled version of git. In comparison to "full regular" installation of git, bundled version doesn't carry hooks, so any "git init"ed with it repository would lack those samples in .git/hooks + +### What steps will reproduce the problem? + +just use bundled git and run "git init" in some new dir + +### What version of git-annex are you using? On what operating system? + +6.20170209+gitg16be7b5cc-1~ndall+1 + + +### Please provide any additional information below. + +actually there is few more differences (/tmp/123 generated with bundled version) -- description, branches: + +[[!format sh """ +(git)hopa:/tmp/123[master] +$> find .git +.git +.git/objects +.git/objects/info +.git/objects/pack +.git/config +.git/HEAD +.git/refs +.git/refs/tags +.git/refs/heads + +(git)hopa:/tmp/123_system[master] +$> find .git +.git +.git/objects +.git/objects/info +.git/objects/pack +.git/config +.git/HEAD +.git/refs +.git/refs/tags +.git/refs/heads +.git/info +.git/info/exclude +.git/hooks +.git/hooks/prepare-commit-msg.sample +.git/hooks/pre-applypatch.sample +.git/hooks/pre-rebase.sample +.git/hooks/pre-receive.sample +.git/hooks/pre-commit.sample +.git/hooks/pre-push.sample +.git/hooks/commit-msg.sample +.git/hooks/post-update.sample +.git/hooks/applypatch-msg.sample +.git/hooks/update.sample +.git/description +.git/branches +"""]] + +[[!meta author=yoh]] -- 2.30.2