aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRichard Sent <richard@freakingpenguin.com>2025-04-18 22:41:11 -0400
committerJonas Bernoulli <jonas@bernoul.li>2025-04-19 10:29:20 +0200
commitd3f275373322e8c97d9cf9adcbae76b022e5a83e (patch)
treebdb916351f93ba7aa8d1ed719702298a2d84c621 /docs
parentb0e7f0efcedb04233b5103c4017e4a2917bb4f34 (diff)
magit-diff-visit-file: Remove inaccurate sentence from documentation
Co-authored-by: Jonas Bernoulli <jonas@bernoul.li>
Diffstat (limited to 'docs')
-rw-r--r--docs/magit.org9
-rw-r--r--docs/magit.texi9
2 files changed, 6 insertions, 12 deletions
diff --git a/docs/magit.org b/docs/magit.org
index 81dbf4f..669e073 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -4065,12 +4065,9 @@ These commands can only be used when point is inside a diff.
- Key: RET (magit-diff-visit-file) ::
This command visits the appropriate version of the file that the
- diff at point is about.
-
- This commands visits the worktree version of the appropriate file.
- The location of point inside the diff determines which file is being
- visited. The visited version depends on what changes the diff is
- about.
+ diff at point is about. The location of point inside the diff
+ determines which file is being visited. The visited version depends
+ on what changes the diff is about.
1. If the diff shows uncommitted changes (i.e., staged or unstaged
changes), then visit the file in the working tree (i.e., the
diff --git a/docs/magit.texi b/docs/magit.texi
index 2a5a33d..51c6912 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -4783,12 +4783,9 @@ These commands can only be used when point is inside a diff.
@kindex RET
@findex magit-diff-visit-file
This command visits the appropriate version of the file that the
-diff at point is about.
-
-This commands visits the worktree version of the appropriate file.
-The location of point inside the diff determines which file is being
-visited. The visited version depends on what changes the diff is
-about.
+diff at point is about. The location of point inside the diff
+determines which file is being visited. The visited version depends
+on what changes the diff is about.
@enumerate
@item