Skip to content

Commit f34e9ed

Browse files
Michael J Grubergitster
authored andcommitted
git-rm.txt: Fix quoting
Literal " produces typographically incorrect quotations, but "works" in most circumstances. In the subheadings of git-rm.txt, it "works" for the html backend but not for the docbook conversion to nroff: double "" and spurious double spaces appear in the output. Replace "incorrect" quotations by ``correct'' ones, and fix other "quotations" which are really `code fragments`. This should make git-rm.txt "-clean. Reported-by: Jeff King <[email protected]> Signed-off-by: Michael J Gruber <[email protected]> Helped-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6079ec6 commit f34e9ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/git-rm.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@ the paths that have disappeared from the filesystem. However,
8989
depending on the use case, there are several ways that can be
9090
done.
9191

92-
Using "git commit -a"
93-
~~~~~~~~~~~~~~~~~~~~~
92+
Using ``git commit -a''
93+
~~~~~~~~~~~~~~~~~~~~~~~
9494
If you intend that your next commit should record all modifications
9595
of tracked files in the working tree and record all removals of
9696
files that have been removed from the working tree with `rm`
9797
(as opposed to `git rm`), use `git commit -a`, as it will
9898
automatically notice and record all removals. You can also have a
9999
similar effect without committing by using `git add -u`.
100100

101-
Using "git add -A"
102-
~~~~~~~~~~~~~~~~~~
101+
Using ``git add -A''
102+
~~~~~~~~~~~~~~~~~~~~
103103
When accepting a new code drop for a vendor branch, you probably
104104
want to record both the removal of paths and additions of new paths
105105
as well as modifications of existing paths.
@@ -111,8 +111,8 @@ tree using this command:
111111
git ls-files -z | xargs -0 rm -f
112112
----------------
113113

114-
and then "untar" the new code in the working tree. Alternately
115-
you could "rsync" the changes into the working tree.
114+
and then untar the new code in the working tree. Alternately
115+
you could 'rsync' the changes into the working tree.
116116

117117
After that, the easiest way to record all removals, additions, and
118118
modifications in the working tree is:

0 commit comments

Comments
 (0)