<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-checkout.txt, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2022-01-20T23:25:38Z</updated>
<entry>
<title>Merge branch 'js/branch-track-inherit'</title>
<updated>2022-01-20T23:25:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-01-20T23:25:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=297ca895a27a6bbdb7906371d533f72a12ad25b2'/>
<id>urn:sha1:297ca895a27a6bbdb7906371d533f72a12ad25b2</id>
<content type='text'>
"git branch -h" incorrectly said "--track[=direct|inherit]",
implying that "--trackinherit" is a valid option, which has been
corrected.
source: &lt;3de40324bea6a1dd9bca2654721471e3809e87d8.1642538935.git.steadmon@google.com&gt;
source: &lt;c3c26192-aee9-185a-e559-b8735139e49c@web.de&gt;

* js/branch-track-inherit:
  branch,checkout: fix --track documentation
</content>
</entry>
<entry>
<title>branch,checkout: fix --track documentation</title>
<updated>2022-01-20T19:07:51Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2022-01-20T12:35:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=6327f0efed36c64d98a140110171362b7cb75a52'/>
<id>urn:sha1:6327f0efed36c64d98a140110171362b7cb75a52</id>
<content type='text'>
Document that the accepted variants of the --track option are --track,
--track=direct, and --track=inherit.  The equal sign in the latter two
cannot be replaced with whitespace; in general optional arguments need
to be attached firmly to their option.

Put "direct" consistently before "inherit", if only for the reasons
that the former is the default, explained first in the documentation,
and comes before the latter alphabetically.

Mention both modes in the short help so that readers don't have to look
them up in the full documentation.  They are literal strings and thus
untranslatable.  PARSE_OPT_LITERAL_ARGHELP is inferred due to the pipe
and parenthesis characters, so we don't have to provide that flag
explicitly.

Mention that -t has the same effect as --track and --track=direct.
There is no way to specify inherit mode using the short option, because
short options generally don't accept optional arguments.

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/branch-track-inherit'</title>
<updated>2022-01-10T19:52:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2022-01-10T19:52:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0669bdf4ebc095a2b26654292e1ff38245ccf88a'/>
<id>urn:sha1:0669bdf4ebc095a2b26654292e1ff38245ccf88a</id>
<content type='text'>
"git -c branch.autosetupmerge=inherit branch new old" makes "new"
to have the same upstream as the "old" branch, instead of marking
"old" itself as its upstream.

* js/branch-track-inherit:
  config: require lowercase for branch.*.autosetupmerge
  branch: add flags and config to inherit tracking
  branch: accept multiple upstream branches for tracking
</content>
</entry>
<entry>
<title>branch: add flags and config to inherit tracking</title>
<updated>2021-12-21T06:40:21Z</updated>
<author>
<name>Josh Steadmon</name>
<email>steadmon@google.com</email>
</author>
<published>2021-12-21T03:30:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=d3115660b4cc4b1a32e77ddfd289afde5e4b94d8'/>
<id>urn:sha1:d3115660b4cc4b1a32e77ddfd289afde5e4b94d8</id>
<content type='text'>
It can be helpful when creating a new branch to use the existing
tracking configuration from the branch point. However, there is
currently not a method to automatically do so.

Teach git-{branch,checkout,switch} an "inherit" argument to the
"--track" option. When this is set, creating a new branch will cause the
tracking configuration to default to the configuration of the branch
point, if set.

For example, if branch "main" tracks "origin/main", and we run
`git checkout --track=inherit -b feature main`, then branch "feature"
will track "origin/main". Thus, `git status` will show us how far
ahead/behind we are from origin, and `git pull` will pull from origin.

This is particularly useful when creating branches across many
submodules, such as with `git submodule foreach ...` (or if running with
a patch such as [1], which we use at $job), as it avoids having to
manually set tracking info for each submodule.

Since we've added an argument to "--track", also add "--track=direct" as
another way to explicitly get the original "--track" behavior ("--track"
without an argument still works as well).

Finally, teach branch.autoSetupMerge a new "inherit" option. When this
is set, "--track=inherit" becomes the default behavior.

[1]: https://lore.kernel.org/git/20180927221603.148025-1-sbeller@google.com/

Signed-off-by: Josh Steadmon &lt;steadmon@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'en/zdiff3'</title>
<updated>2021-12-15T17:39:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-12-15T17:39:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=4ce498baa3976cf96d3feb4215a486dd47ec2e7b'/>
<id>urn:sha1:4ce498baa3976cf96d3feb4215a486dd47ec2e7b</id>
<content type='text'>
"Zealous diff3" style of merge conflict presentation has been added.

* en/zdiff3:
  update documentation for new zdiff3 conflictStyle
  xdiff: implement a zealous diff3, or "zdiff3"
</content>
</entry>
<entry>
<title>Merge branch 'ja/doc-cleanup'</title>
<updated>2021-12-10T22:35:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2021-12-10T22:35:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=23c83fc47315d28dd2185618ecccaf403e2dd6a9'/>
<id>urn:sha1:23c83fc47315d28dd2185618ecccaf403e2dd6a9</id>
<content type='text'>
Doc update.

* ja/doc-cleanup:
  init doc: --shared=0xxx does not give umask but perm bits
  doc: git-init: clarify file modes in octal.
  doc: git-http-push: describe the refs as pattern pairs
  doc: uniformize &lt;URL&gt; placeholders' case
  doc: use three dots for indicating repetition instead of star
  doc: git-ls-files: express options as optional alternatives
  doc: use only hyphens as word separators in placeholders
  doc: express grammar placeholders between angle brackets
  doc: split placeholders as individual tokens
  doc: fix git credential synopsis
</content>
</entry>
<entry>
<title>update documentation for new zdiff3 conflictStyle</title>
<updated>2021-12-01T22:45:59Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2021-12-01T00:05:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ddfc44a898a58311392a5329687a1813d6b94779'/>
<id>urn:sha1:ddfc44a898a58311392a5329687a1813d6b94779</id>
<content type='text'>
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: use only hyphens as word separators in placeholders</title>
<updated>2021-11-09T17:39:11Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2021-11-06T18:48:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=133db54dabd2174960d4a7449a1a7ed574ea0ad3'/>
<id>urn:sha1:133db54dabd2174960d4a7449a1a7ed574ea0ad3</id>
<content type='text'>
According to CodingGuidelines, multi-word placeholders should use
hyphens as word separators.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Reviewed-by: Eli Schwartz &lt;eschwartz@archlinux.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: call out commands that nuke untracked files/directories</title>
<updated>2021-09-27T20:38:37Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2021-09-27T16:33:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0e29222e0c2f68118cdd3412515539b74433b732'/>
<id>urn:sha1:0e29222e0c2f68118cdd3412515539b74433b732</id>
<content type='text'>
Some commands have traditionally also removed untracked files (or
directories) that were in the way of a tracked file we needed.  Document
these cases.

Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'dl/checkout-guess'</title>
<updated>2020-10-27T22:09:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-27T22:09:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0e41cfad622dde07815d3d575fd3bf05db83da32'/>
<id>urn:sha1:0e41cfad622dde07815d3d575fd3bf05db83da32</id>
<content type='text'>
"git checkout" learned to use checkout.guess configuration variable
and enable/disable its "--[no-]guess" option accordingly.

* dl/checkout-guess:
  checkout: learn to respect checkout.guess
  Documentation/config/checkout: replace sq with backticks
</content>
</entry>
</feed>
