diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-02-28 00:27:44 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-02-28 00:27:44 +0000 |
commit | 24bc09a2408f779de87b173b93386f5d1cbeee34 (patch) | |
tree | fed4584ad7fba36e609ec2ad9eed33fc9aee2c1d /diff-options.txt | |
parent | 69f491759956153218a1ac862629c439a194d865 (diff) | |
download | git-htmldocs-24bc09a2408f779de87b173b93386f5d1cbeee34.tar.gz |
Autogenerated HTML docs for v1.5.4.3-325-g6d21
Diffstat (limited to 'diff-options.txt')
-rw-r--r-- | diff-options.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/diff-options.txt b/diff-options.txt index 8d35cbd60..8dc5b001c 100644 --- a/diff-options.txt +++ b/diff-options.txt @@ -170,6 +170,14 @@ endif::git-format-patch[] Swap two inputs; that is, show differences from index or on-disk file to tree contents. +--relative[=<path>]:: + When run from a subdirectory of the project, it can be + told to exclude changes outside the directory and show + pathnames relative to it with this option. When you are + not in a subdirectory (e.g. in a bare repository), you + can name which subdirectory to make the output relative + to by giving a <path> as an argument. + --text:: Treat all files as text. |