File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- # Creates symlinks of hooks in .githooks directory in .git/hooks
3
- # If user already has hooks in .git/hooks then hooks from .githooks
4
- # will be added as separate files with different names and a command
5
- # to run these hooks will be added to the respective existing hooks
6
- # on the last line of the file.
2
+ # Creates hooks in .git/hooks directory based on the hooks available in .githooks.
3
+ # If user already has hooks in .git/hooks then hooks from .githooks will be added
4
+ # as separate files with different names and a command to run these hooks will be
5
+ # added to the respective existing hooks on the last line of the file.
7
6
8
7
current_dir=${PWD##*/ }
9
8
42
41
else
43
42
echo " ${hook} is already linked."
44
43
fi
45
- done
44
+ done
You can’t perform that action at this time.
0 commit comments