a2bb3daff17a85d250bb637636751cf1b67e6bb7
[git-annex.git] /
1 ### Please describe the problem.
2
3 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
4
5 ### What steps will reproduce the problem?
6
7 just use bundled git and run "git init" in some new dir
8
9 ### What version of git-annex are you using? On what operating system?
10
11 6.20170209+gitg16be7b5cc-1~ndall+1
12
13
14 ### Please provide any additional information below.
15
16 actually there is few more differences (/tmp/123 generated with bundled version) -- description, branches:
17
18 [[!format sh """
19 (git)hopa:/tmp/123[master]
20 $> find .git
21 .git
22 .git/objects
23 .git/objects/info
24 .git/objects/pack
25 .git/config
26 .git/HEAD
27 .git/refs
28 .git/refs/tags
29 .git/refs/heads
30
31 (git)hopa:/tmp/123_system[master]
32 $> find .git            
33 .git
34 .git/objects
35 .git/objects/info
36 .git/objects/pack
37 .git/config
38 .git/HEAD
39 .git/refs
40 .git/refs/tags
41 .git/refs/heads
42 .git/info
43 .git/info/exclude
44 .git/hooks
45 .git/hooks/prepare-commit-msg.sample
46 .git/hooks/pre-applypatch.sample
47 .git/hooks/pre-rebase.sample
48 .git/hooks/pre-receive.sample
49 .git/hooks/pre-commit.sample
50 .git/hooks/pre-push.sample
51 .git/hooks/commit-msg.sample
52 .git/hooks/post-update.sample
53 .git/hooks/applypatch-msg.sample
54 .git/hooks/update.sample
55 .git/description
56 .git/branches
57 """]]
58
59 [[!meta author=yoh]]
60 [[!tag projects/datalad]]
61
62 > [[done]] --[[Joey]]