Skip to contentSkip to conversation

git-cvsserver: fix duplicate words

PATCH In review Li Peng 2 participants 2 messages Jun 16, 2016

lore
Share & tools
lore

Li Peng

author
#0 lore raw

PATCH 1/1 git-cvsserver: fix duplicate words

Fix duplicate words in comments.

---
 git-cvsserver.perl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
git-cvsserver.perl +3 -3
index 02c0445..392e59e 100755
@@ -1156,7 +1156,7 @@ sub prepDirForOutput
     # FUTURE: This would more accurately emulate CVS by sending
     #   another copy of sticky after processing the files in that
     #   directory.  Or intermediate: perhaps send all sticky's for
-    #   $seendirs after after processing all files.
+    #   $seendirs after processing all files.
 }
 
 # update \n
@@ -2824,7 +2824,7 @@ sub statecleanup
 }
 
 # Return working directory CVS revision "1.X" out
-# of the the working directory "entries" state, for the given filename.
+# of the working directory "entries" state, for the given filename.
 # This is prefixed with a dash if the file is scheduled for removal
 # when it is committed.
 sub revparse
@@ -2935,7 +2935,7 @@ sub filecleanup
     return $filename;
 }
 
-# Remove prependdir from the path, so that is is relative to the directory
+# Remove prependdir from the path, so that is relative to the directory
 # the CVS client was started from, rather than the top of the project.
 # Essentially the inverse of filecleanup().
 sub remove_prependdir
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 30 lines · Li Peng

Fix duplicate words in comments.

---
  git-cvsserver.perl | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
git-cvsserver.perl +2 -2
index 02c0445..392e59e 100755
@@ -1156,7 +1156,7 @@ sub prepDirForOutput
      # FUTURE: This would more accurately emulate CVS by sending
      #   another copy of sticky after processing the files in that
      #   directory.  Or intermediate: perhaps send all sticky's for
-    #   $seendirs after after processing all files.
+    #   $seendirs after processing all files.
  }
 
  # update \n
@@ -2824,7 +2824,7 @@ sub statecleanup
  }
 
  # Return working directory CVS revision "1.X" out
-# of the the working directory "entries" state, for the given filename.
+# of the working directory "entries" state, for the given filename.
  # This is prefixed with a dash if the file is scheduled for removal
  # when it is committed.
  sub revparse

git-cvsserver.perl sub filecleanup · line 2938

Quoted 5 lines
git-cvsserver.perl +1 -1
@@ -2935,7 +2935,7 @@ sub filecleanup
      return $filename;
  }
 
-# Remove prependdir from the path, so that is is relative to the directory
+# Remove prependdir from the path, so that is relative to the directory

This one is a typo -- it should be "it is".

Did you write a script to find these? :)

(Also, I agree with Jeff that putting all of these changes into one patch would have been fine.)

		M.