Skip to content

Commit 295a3cd

Browse files
authored
Merge pull request #649 from LeonardLaszlo/master
Improve possible incomplete sentence in CHAPTER 8: Customizing Git, subsection: Installing a Hook.
2 parents 22607a2 + 38badbc commit 295a3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/08-customizing-git/sections/hooks.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can use these hooks for all sorts of reasons.
1212
The hooks are all stored in the `hooks` subdirectory of the Git directory.
1313
In most projects, that's `.git/hooks`.
1414
When you initialize a new repository with `git init`, Git populates the hooks directory with a bunch of example scripts, many of which are useful by themselves; but they also document the input values of each script.
15-
All the examples are written as shell scripts, with some Perl thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or what have you.
15+
All the examples are written as shell scripts, with some Perl thrown in, but any properly named executable scripts will work fine – you can write them in Ruby or Python or whatever language you are familiar with.
1616
If you want to use the bundled hook scripts, you'll have to rename them; their file names all end with `.sample`.
1717

1818
To enable a hook script, put a file in the `hooks` subdirectory of your .git directory that is named appropriately (without any extension) and is executable.

0 commit comments

Comments
 (0)