aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-08-20 16:46:56 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-08-20 16:46:56 +0200
commite80a98b53a38b78816999f838b095d44406843a5 (patch)
tree9d837fbd1409c77d1afd3d480bb21d990ced48f7 /Documentation
parent25832bb4741742360ba046572271bb8b7bcc7374 (diff)
magit.org: mention that ediff can be used to stage tiny units
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/magit.org4
-rw-r--r--Documentation/magit.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/magit.org b/Documentation/magit.org
index eadfee5..e2e9409 100644
--- a/Documentation/magit.org
+++ b/Documentation/magit.org
@@ -2345,6 +2345,10 @@ apply variants are described in the next section.
Remove all changes from the staging area.
+To stage a smaller unit than a range of lines, similar to ~git add
+--patch~ followed by ~e~ would do, then you can use ~magit-ediff-stage~ to
+do so.
+
*** Staging from file-visiting buffers
Fine-grained un-/staging has to be done from the status or a diff
diff --git a/Documentation/magit.texi b/Documentation/magit.texi
index afdbef3..ab2a71a 100644
--- a/Documentation/magit.texi
+++ b/Documentation/magit.texi
@@ -3280,6 +3280,10 @@ use a command which always does just that, then rebind @code{U} to
Remove all changes from the staging area.
@end table
+To stage a smaller unit than a range of lines, similar to @code{git add
+--patch} followed by @code{e} would do, then you can use @code{magit-ediff-stage} to
+do so.
+
@menu
* Staging from file-visiting buffers::
@end menu