]> granicus.if.org Git - nethack/commitdiff
Update docs for NHDT V2.
authorkeni <keni@his.com>
Tue, 31 Mar 2015 16:29:58 +0000 (12:29 -0400)
committerkeni <keni@his.com>
Tue, 31 Mar 2015 16:29:58 +0000 (12:29 -0400)
DEVEL/Developer.txt
DEVEL/git_recipes.txt

index 5e9e7635653709606a3f52fa03d8d4f18f2e4c1a..49cebe12f82e2986af3cfc8dd5e428aa8e2f3c9f 100644 (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
index 5e8d872f9519028e2fea6a47a5d328c2415807c8..1a2ec0acf1463c6531269c418c887d533d0a2bc8 100644 (file)
@@ -42,9 +42,12 @@ you specify:
 
 Adds the changes you've made in (filename) to the pre-commit staging area.
 (also referred to as the 'index')
+ OR
+Make a new file be tracked by git.
 
 "nhadd" is the preferred syntax and will automatically update the source file
-headers with the latest date, branch, and version.
+headers with the latest date, branch, and version.  See Developer.txt for
+details.
 
 
 [*] git commit [-a] [-m "text"]
@@ -57,7 +60,8 @@ Including -m will use "text" as the commit message instead of opening an
 editor window for you to create one.
 
 "nhcommit" is the preferred syntax and will automatically update the source file
-headers with the latest date, branch, and version.
+headers with the latest date, branch, and version.  See Developer.txt for
+details.
 
 
 [*] git push [--all] [-u origin (branch)]