git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] doc: add documentation for git log --no-follow
@ 2020-01-31 23:24 Étienne Servais
  2020-02-01 11:16 ` Jeff King
  2020-02-03 14:40 ` [PATCH] index-pack: downgrade twice-resolved REF_DELTA to die() Jeff King
  0 siblings, 2 replies; 5+ messages in thread
From: Étienne Servais @ 2020-01-31 23:24 UTC (permalink / raw)
  To: git

This feature was added by commit
076c98372e (log: add "log.follow" configuration variable, 2015-07-07)
but remained undocumented.

Signed-off-by: Étienne Servais <etienne.servais@voucoux.fr>
---
This is my first patch to git \o/
Sent with thunderbird with help of format-patch'doc (So, it works!).
I've tested the patch and git am works well on maint and next.
I couldn't figure if I shall merge the --no-follow doc with the follow
as is done for --no-decorate and --decorate just after. 
I couldn't think of a proper phrasing so I'll be glad to get suggestion on this.

 Documentation/git-log.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index bed09bb09e..cc2ad98167 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -28,6 +28,9 @@ OPTIONS
 	Continue listing the history of a file beyond renames
 	(works only for a single file).
 
+--no-follow::
+	Override the log.follow configuration.
+
 --no-decorate::
 --decorate[=short|full|auto|no]::
 	Print out the ref names of any commits that are shown. If 'short' is
@@ -205,7 +208,8 @@ log.follow::
 	If `true`, `git log` will act as if the `--follow` option was used when
 	a single <path> is given.  This has the same limitations as `--follow`,
 	i.e. it cannot be used to follow multiple files and does not work well
-	on non-linear history.
+	on non-linear history. This setting can be disabled by the `--no-follow`
+	option.
 
 log.showRoot::
 	If `false`, `git log` and related commands will not treat the
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-03 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31 23:24 [PATCH] doc: add documentation for git log --no-follow Étienne Servais
2020-02-01 11:16 ` Jeff King
2020-02-03 20:27   ` Étienne Servais
2020-02-03 14:40 ` [PATCH] index-pack: downgrade twice-resolved REF_DELTA to die() Jeff King
2020-02-03 17:53   ` Taylor Blau

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).