From: Junio C Hamano Date: Mon, 2 Jul 2007 00:17:42 +0000 (+0000) Subject: Autogenerated HTML docs for v1.5.2.2-646-g71e55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d526ba9b47b4ea5c29f3e49e8250babef215eb37;p=git.git Autogenerated HTML docs for v1.5.2.2-646-g71e55 --- diff --git a/config.txt b/config.txt index a2057d9d2..50503e84b 100644 --- a/config.txt +++ b/config.txt @@ -117,6 +117,18 @@ core.fileMode:: the working copy are ignored; useful on broken filesystems like FAT. See gitlink:git-update-index[1]. True by default. +core.quotepath:: + The commands that output paths (e.g. `ls-files`, + `diff`), when not given the `-z` option, will quote + "unusual" characters in the pathname by enclosing the + pathname in a double-quote pair and with backslashes the + same way strings in C source code are quoted. If this + variable is set to false, the bytes higher than 0x80 are + not quoted but output as verbatim. Note that double + quote, backslash and control characters are always + quoted without `-z` regardless of the setting of this + variable. + core.autocrlf:: If true, makes git convert `CRLF` at the end of lines in text files to `LF` when reading from the filesystem, and convert in reverse when @@ -172,6 +184,13 @@ repository that ends in "/.git" is assumed to be not bare (bare = false), while all other repositories are assumed to be bare (bare = true). +core.worktree:: + Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can be overriden by the GIT_WORK_TREE environment + variable and the '--work-tree' command line option. + core.logAllRefUpdates:: Updates to a ref is logged to the file "$GIT_DIR/logs/", by appending the new and old diff --git a/diff-format.txt b/diff-format.txt index 18d49d2c3..001503205 100644 --- a/diff-format.txt +++ b/diff-format.txt @@ -126,6 +126,13 @@ the file that rename/copy produces, respectively. If there is need for such substitution then the whole pathname is put in double quotes. +The similarity index is the percentage of unchanged lines, and +the dissimilarity index is the percentage of changed lines. It +is a rounded down integer, followed by a percent sign. The +similarity index value of 100% is thus reserved for two equal +files, while 100% dissimilarity means that no line from the old +file made it into the new one. + combined diff format -------------------- diff --git a/git-config.html b/git-config.html index 4d68c521a..afc81832b 100644 --- a/git-config.html +++ b/git-config.html @@ -273,9 +273,9 @@ git-config(1) Manual Page

SYNOPSIS

-
git-config [--system | --global] [-z|--null] name [value [value_regex]] -git-config [--system | --global] --add name value -git-config [--system | --global] --replace-all name [value [value_regex]] +
git-config [--system | --global] [type] [-z|--null] name [value [value_regex]] +git-config [--system | --global] [type] --add name value +git-config [--system | --global] [type] --replace-all name [value [value_regex]] git-config [--system | --global] [type] [-z|--null] --get name [value_regex] git-config [--system | --global] [type] [-z|--null] --get-all name [value_regex] git-config [--system | --global] [type] [-z|--null] --get-regexp name_regex [value_regex] @@ -299,8 +299,7 @@ prepend a single exclamation mark in front (see also [EXAMPL

The type specifier can be either --int or --bool, which will make git-config ensure that the variable(s) are of the given type and convert the value to the canonical form (simple decimal number for int, -a "true" or "false" string for bool). Type specifiers currently only -take effect for reading operations. If no type specifier is passed, +a "true" or "false" string for bool). If no type specifier is passed, no checks or transformations are performed on the value.

This command will fail if:

    @@ -769,6 +768,23 @@ core.fileMode

    +core.quotepath +
    +
    +

    + The commands that output paths (e.g. ls-files, + diff), when not given the -z option, will quote + "unusual" characters in the pathname by enclosing the + pathname in a double-quote pair and with backslashes the + same way strings in C source code are quoted. If this + variable is set to false, the bytes higher than 0x80 are + not quoted but output as verbatim. Note that double + quote, backslash and control characters are always + quoted without -z regardless of the setting of this + variable. +

    +
    +
    core.autocrlf
    @@ -852,6 +868,18 @@ false), while all other repositories are assumed to be bare (bare = true).

    +core.worktree +
    +
    +

    + Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can be overriden by the GIT_WORK_TREE environment + variable and the --work-tree command line option. +

    +
    +
    core.logAllRefUpdates
    @@ -1792,7 +1820,7 @@ transfer.unpackLimit
diff --git a/git-config.txt b/git-config.txt index a44578166..5f66a7fcd 100644 --- a/git-config.txt +++ b/git-config.txt @@ -9,9 +9,9 @@ git-config - Get and set repository or global options SYNOPSIS -------- [verse] -'git-config' [--system | --global] [-z|--null] name [value [value_regex]] -'git-config' [--system | --global] --add name value -'git-config' [--system | --global] --replace-all name [value [value_regex]] +'git-config' [--system | --global] [type] [-z|--null] name [value [value_regex]] +'git-config' [--system | --global] [type] --add name value +'git-config' [--system | --global] [type] --replace-all name [value [value_regex]] 'git-config' [--system | --global] [type] [-z|--null] --get name [value_regex] 'git-config' [--system | --global] [type] [-z|--null] --get-all name [value_regex] 'git-config' [--system | --global] [type] [-z|--null] --get-regexp name_regex [value_regex] @@ -37,8 +37,7 @@ prepend a single exclamation mark in front (see also <>). The type specifier can be either '--int' or '--bool', which will make 'git-config' ensure that the variable(s) are of the given type and convert the value to the canonical form (simple decimal number for int, -a "true" or "false" string for bool). Type specifiers currently only -take effect for reading operations. If no type specifier is passed, +a "true" or "false" string for bool). If no type specifier is passed, no checks or transformations are performed on the value. This command will fail if: diff --git a/git-diff-files.html b/git-diff-files.html index cba19abeb..b3b897044 100644 --- a/git-diff-files.html +++ b/git-diff-files.html @@ -933,6 +933,12 @@ TAB, LF, double quote and backslash characters in pathnames

+

The similarity index is the percentage of unchanged lines, and +the dissimilarity index is the percentage of changed lines. It +is a rounded down integer, followed by a percent sign. The +similarity index value of 100% is thus reserved for two equal +files, while 100% dissimilarity means that no line from the old +file made it into the new one.

combined diff format

@@ -1070,7 +1076,7 @@ two unresolved merge parents with the working tree file
diff --git a/git-diff-index.html b/git-diff-index.html index 2b273e0a9..b26269e06 100644 --- a/git-diff-index.html +++ b/git-diff-index.html @@ -921,6 +921,12 @@ TAB, LF, double quote and backslash characters in pathnames

+

The similarity index is the percentage of unchanged lines, and +the dissimilarity index is the percentage of changed lines. It +is a rounded down integer, followed by a percent sign. The +similarity index value of 100% is thus reserved for two equal +files, while 100% dissimilarity means that no line from the old +file made it into the new one.

combined diff format

@@ -1152,7 +1158,7 @@ always have the special all-zero sha1.
diff --git a/git-diff-tree.html b/git-diff-tree.html index 5de4a7d12..b6ac10d7c 100644 --- a/git-diff-tree.html +++ b/git-diff-tree.html @@ -1393,6 +1393,12 @@ TAB, LF, double quote and backslash characters in pathnames

+

The similarity index is the percentage of unchanged lines, and +the dissimilarity index is the percentage of changed lines. It +is a rounded down integer, followed by a percent sign. The +similarity index value of 100% is thus reserved for two equal +files, while 100% dissimilarity means that no line from the old +file made it into the new one.

combined diff format

@@ -1530,7 +1536,7 @@ two unresolved merge parents with the working tree file
diff --git a/git-rev-parse.html b/git-rev-parse.html index d99dd799a..86bd92375 100644 --- a/git-rev-parse.html +++ b/git-rev-parse.html @@ -436,8 +436,25 @@ distinguish between them.

- Return "true" if we are in the git directory, otherwise "false". - Some commands require to be run in a working directory. + When the current working directory is below the repository + directory print "true", otherwise "false". +

+
+
+--is-inside-work-tree +
+
+

+ When the current working directory is inside the work tree of the + repository print "true", otherwise "false". +

+
+
+--is-bare-repository +
+
+

+ When the repository is bare print "true", otherwise "false".

@@ -718,7 +735,7 @@ Junio C Hamano <junkio@cox.net>

diff --git a/git-rev-parse.txt b/git-rev-parse.txt index 87771b832..eea9c9cfe 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -90,8 +90,15 @@ OPTIONS Show `$GIT_DIR` if defined else show the path to the .git directory. --is-inside-git-dir:: - Return "true" if we are in the git directory, otherwise "false". - Some commands require to be run in a working directory. + When the current working directory is below the repository + directory print "true", otherwise "false". + +--is-inside-work-tree:: + When the current working directory is inside the work tree of the + repository print "true", otherwise "false". + +--is-bare-repository:: + When the repository is bare print "true", otherwise "false". --short, --short=number:: Instead of outputting the full SHA1 values of object names try to diff --git a/git.html b/git.html index bf8707c45..85fd48582 100644 --- a/git.html +++ b/git.html @@ -274,7 +274,8 @@ git(7) Manual Page
git [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate] - [--bare] [--git-dir=GIT_DIR] [--help] COMMAND [ARGS]
+ [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] + [--help] COMMAND [ARGS]

DESCRIPTION

@@ -344,6 +345,19 @@ documentation can be viewed at

+--work-tree=<path> +
+
+

+ Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can also be controlled by setting the GIT_WORK_TREE + environment variable and the core.worktree configuration + variable. +

+
+
--bare
@@ -1660,6 +1674,18 @@ git so take care if using Cogito etc.

for the base of the repository.

+
+GIT_WORK_TREE +
+
+

+ Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can also be controlled by the --work-tree command line + option and the core.worktree configuration variable. +

+

git Commits

@@ -2356,7 +2382,7 @@ contributors on the git-list <git@vger.kernel.org>.

diff --git a/git.txt b/git.txt index 826914837..2cc0b214d 100644 --- a/git.txt +++ b/git.txt @@ -10,7 +10,8 @@ SYNOPSIS -------- [verse] 'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate] - [--bare] [--git-dir=GIT_DIR] [--help] COMMAND [ARGS] + [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] + [--help] COMMAND [ARGS] DESCRIPTION ----------- @@ -103,6 +104,14 @@ OPTIONS Set the path to the repository. This can also be controlled by setting the GIT_DIR environment variable. +--work-tree=:: + Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can also be controlled by setting the GIT_WORK_TREE + environment variable and the core.worktree configuration + variable. + --bare:: Same as --git-dir=`pwd`. @@ -347,6 +356,13 @@ git so take care if using Cogito etc. specifies a path to use instead of the default `.git` for the base of the repository. +'GIT_WORK_TREE':: + Set the path to the working tree. The value will not be + used in combination with repositories found automatically in + a .git directory (i.e. $GIT_DIR is not set). + This can also be controlled by the '--work-tree' command line + option and the core.worktree configuration variable. + git Commits ~~~~~~~~~~~ 'GIT_AUTHOR_NAME'::