My First Object Walk
-2024-03-25 +2024-03-28Reviewing Patches in the Git Project
-2024-03-25 +2024-03-28Submitting Patches
-2024-03-25 +2024-03-28Tools for developing Git
-2024-03-25 +2024-03-28Everyday Git With 20 Commands Or So
-2024-03-25 +2024-03-28OPTIONS
The default can be changed using the status.showUntrackedFiles +
All usual spellings for Boolean value true
are taken as normal
+and false
as no
.
+The default can be changed using the status.showUntrackedFiles
configuration variable documented in git-config(1).
GIT
diff --git a/git-commit.txt b/git-commit.txt index a6cef5d82..89ecfc63a 100644 --- a/git-commit.txt +++ b/git-commit.txt @@ -347,6 +347,8 @@ The possible options are: - 'normal' - Shows untracked files and directories - 'all' - Also shows individual files in untracked directories. +All usual spellings for Boolean value `true` are taken as `normal` +and `false` as `no`. The default can be changed using the status.showUntrackedFiles configuration variable documented in linkgit:git-config[1]. -- diff --git a/git-config.html b/git-config.html index 542229b30..3c638629a 100644 --- a/git-config.html +++ b/git-config.html @@ -4903,7 +4903,7 @@Variables
@@ -4911,6 +4911,22 @@
Variables
+ If set, git diff uses this source prefix. Defaults to "a/". +
++ If set, git diff uses this destination prefix. Defaults to "b/". +
+Variables
work and will produce hard-to-diagnose issues.
+ Specify a compatitbility hash algorithm to use. The acceptable values
+ are sha1
and sha256
. The value specified must be different from the
+ value of extensions.objectFormat. This allows client level
+ interoperability between git repositories whose objectFormat matches
+ this compatObjectFormat. In particular when fully implemented the
+ pushes and pulls from a repository in whose objectFormat matches
+ compatObjectFormat. As well as being able to use oids encoded in
+ compatObjectFormat in addition to oids encoded with objectFormat to
+ locally specify objects.
+
Variables
If this variable is not specified, it defaults to normal.
+All usual spellings for Boolean value true
are taken as normal
+and false
as no
.
This variable can be overridden with the -u|--untracked-files option
of git-status(1) and git-commit(1).
OPTIONS
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
OPTIONS
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
OPTIONS
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
OPTIONS
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
CONFIGURATION
@@ -3232,6 +3233,22 @@
CONFIGURATION
+ If set, git diff uses this source prefix. Defaults to "a/". +
++ If set, git diff uses this destination prefix. Defaults to "b/". +
+OPTIONS
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
DIFF FORMATTING
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
git-remote-helpers
-2024-03-25 +2024-03-28Options for Output
refnames (e.g. "refs/heads/master"). ++ Allow oids to be input from any object format that the current + repository supports. +
+Specifying "sha1" translates if necessary and returns a sha1 oid.
+Specifying "sha256" translates if necessary and returns a sha256 oid.
+Specifying "storage" translates if necessary and returns an oid in
+encoded in the storage hash algorithm.
+GIT
diff --git a/git-rev-parse.txt b/git-rev-parse.txt index 5d83dd36d..f9d5a35fa 100644 --- a/git-rev-parse.txt +++ b/git-rev-parse.txt @@ -159,6 +159,18 @@ for another option. unfortunately named tag "master"), and shows them as full refnames (e.g. "refs/heads/master"). +--output-object-format=(sha1|sha256|storage):: + + Allow oids to be input from any object format that the current + repository supports. + + Specifying "sha1" translates if necessary and returns a sha1 oid. + + Specifying "sha256" translates if necessary and returns a sha256 oid. + + Specifying "storage" translates if necessary and returns an oid in + encoded in the storage hash algorithm. + Options for Objects ~~~~~~~~~~~~~~~~~~~ diff --git a/git-show.html b/git-show.html index cb418c994..89367cb5e 100644 --- a/git-show.html +++ b/git-show.html @@ -3406,8 +3406,9 @@DIFF FORMATTING
Use the default source and destination prefixes ("a/" and "b/").
- This is usually the default already, but may be used to override
- config such as diff.noprefix
.
+ This overrides configuration variables such as diff.noprefix
,
+ diff.srcPrefix
, diff.dstPrefix
, and diff.mnemonicPrefix
+ (see git-config
(1)).
OPTIONS
Consider enabling untracked cache and split index if supported (seegit update-index --untracked-cache
and git update-index
--split-index
), Otherwise you can use no
to have git status
-return more quickly without showing untracked files.true
are taken as normal
+and false
as no
.The default can be changed using the status.showUntrackedFiles configuration variable documented in git-config(1).