threads / patch / 42241

patchgit-cvsserver: fix duplicate words

Subject: [PATCH] git-cvsserver: fix duplicate words

## tl;dr

2 messages between May 6, 2016 and May 6, 2016. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Li Peng· May 6, 2016, 12:09 UTC · lore
Fix duplicate words in comments.
Signed-off-by: Li Peng <lip@dtdream.com>
---
 git-cvsserver.perl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Show changes to git-cvsserver.perl +3 −3
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 02c0445..392e59e 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -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
-- 
1.8.3.1
Marc Branchaud· May 6, 2016, 13:59 UTC · re: Li Peng · lore

Re: [PATCH] git-cvsserver: fix duplicate words

On 2016-05-06 08:09 AM, Li Peng wrote:
Show 35 quoted lines
> Fix duplicate words in comments.
>
> Signed-off-by: Li Peng <lip@dtdream.com>
> ---
>   git-cvsserver.perl | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/git-cvsserver.perl b/git-cvsserver.perl
> index 02c0445..392e59e 100755
> --- a/git-cvsserver.perl
> +++ b/git-cvsserver.perl
> @@ -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
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.

← back to recent threads