Skip to content

Commit 4e4a51c

Browse files
committed
Update README
1 parent 8ff39e8 commit 4e4a51c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ But you want to have future changes adhering to some sane style?
1111
Well, your formatter surely has some Git integration... it doesn't?
1212
In that case, you are in the right place!
1313

14-
`git fmt-diff` shows how you could reformat just the lines touched in git commits;
15-
similarly to tools like [git-clang-format](https://clang.llvm.org/docs/ClangFormat.html#git-integration), but formatter agnostic.
14+
`git fmt-diff` shows how you could reformat just the lines touched in commits
15+
(similarly to tools like [git-clang-format](https://clang.llvm.org/docs/ClangFormat.html#git-integration), but you can use any formatter)
1616

1717
![screenshot](screenshot.png)
1818

@@ -107,7 +107,7 @@ Your formatter command needs to read from stdio and write to stdout.
107107
That implies command needing to be filename agnostic!
108108

109109
First word in formatter command needs to be an executable (either from `$PATH` or a path to it).
110-
Before running it, script checks whether it's possible with `[ -x "$(command -v EXE)" ]`.
110+
Before running the command, script checks whether it's possible using `test -x "$(command -v EXE)"`.
111111
You can use _sh_ expression instead if you start the command with `!`.
112112

113113
All paths are in relation to repository root.

0 commit comments

Comments
 (0)