Update docs for NHDT V2.

This commit is contained in:
keni
2015-03-31 12:29:58 -04:00
parent 8ee2d5976e
commit fdd49dde86
2 changed files with 10 additions and 6 deletions

View File

@@ -136,9 +136,9 @@ B. Enabling variable expansion
Variable expansion is controlled by the .gitattributes file.
To enable variable expansion:
pattern filter=NHtext merge=NHsubst
pattern NHSUBST
To disable variable expansion:
pattern -filter
pattern -NHSUBST
More information: "git help gitattributes"
@@ -147,8 +147,8 @@ C. Oddities
instead of "git add" or "git commit." Nothing terrible will happen if you
use the wrong one, but the values will not be updated.
Due to the way this abuses git filters, the updated values are not visible
in your working tree.
Variable expansion modifies the files in the work tree - your editor or
IDE may or may not be happy with this.
D. Using your own hooks
You can use your own hooks - put them in .git/hooks as usual BUT name them