[PATCH] git-cvsserver: fix duplicate words

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] git-cvsserver: fix duplicate words

李三0159
Fix duplicate words in comments.

Signed-off-by: Li Peng <[hidden email]>
---
 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
 # 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reply | Threaded
Open this post in threaded view
|

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

Marc Branchaud
On 2016-05-06 08:09 AM, Li Peng wrote:

> Fix duplicate words in comments.
>
> Signed-off-by: Li Peng <[hidden email]>
> ---
>   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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html