aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common
diff options
context:
space:
mode:
Diffstat (limited to 'clients/common')
-rw-r--r--clients/common/common.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/clients/common/common.go b/clients/common/common.go
index 5aa6269..7280450 100644
--- a/clients/common/common.go
+++ b/clients/common/common.go
@@ -236,11 +236,7 @@ func (r *GitUploadPackInfo) decodeHeaderLine(line string) {
}
func (r *GitUploadPackInfo) isValidLine(line string) bool {
- if line[0] == '#' {
- return false
- }
-
- return true
+ return line[0] != '#'
}
func (r *GitUploadPackInfo) readLine(line string) {