diff options
author | rsiddharth <s@ricketyspace.net> | 2016-07-10 21:42:42 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2016-07-10 21:42:42 +0000 |
commit | 5ec9a8c214159e9dfef0cf44669d563d55e29cd3 (patch) | |
tree | 86a50bc7964dda11892eaef775f805f6e2f0faac /README.org | |
parent | 4517ceb56e30c7e208bb063dc23d77e7c621bf0e (diff) |
add rule ".".
if a repo has a rule set to ".", then all files will be staged and committed.
* README.org (rules): add new rule ".".
(config): update example config to illustrate the "." rule.
* git-difme.scm (build-stage-regex): accommodate new rule ".".
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,6 +16,7 @@ file types: - modified file (M). - deleted file (D). - untracked file (?). + - all files (.). the rules are defined per git repository in the config file. @@ -34,7 +35,7 @@ function: (list '("/path/to/git/repo/foo" "M" "D" "?") '("/path/to/git/repo/bar" "M") '("/path/to/git/repo/baz" "M" "?") - '("/path/to/git/repo/frb"))) + '("/path/to/git/repo/frb" "."))) #+END_SRC - for repo ~foo~, git difm will only stage and commit modified (M), @@ -43,8 +44,7 @@ function: files. - for repo ~baz~, git difm will only stage and commit modified (M) and untracked (?) files. -- for repo ~frb~, git difm will only stage and commit all types of - files. +- for repo ~frb~, git difm will stage and commit all files. ** installing |