Browse Source

#1622 comment with whitespace

tags/v1.21.12.1
Unknwon 10 years ago
parent
commit
d185f601d3
4 changed files with 13 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      models/publickey.go
  3. +11
    -0
      public/config.codekit
  4. BIN
      public/img/gogs-large-resize.png

+ 1
- 1
README.md View File

@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra


[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


Gogs (Go Git Service) is a painless self-hosted Git service.
![](public/img/gogs-large-resize.png)


##### Current version: 0.6.11 Beta ##### Current version: 0.6.11 Beta




+ 1
- 1
models/publickey.go View File

@@ -153,7 +153,7 @@ func parseKeyString(content string) (string, error) {


if len(lines) == 1 { if len(lines) == 1 {
// Parse openssh format // Parse openssh format
parts := strings.Fields(lines[0])
parts := strings.SplitN(lines[0], " ", 3)
switch len(parts) { switch len(parts) {
case 0: case 0:
return "", errors.New("Empty key") return "", errors.New("Empty key")


+ 11
- 0
public/config.codekit View File

@@ -149,6 +149,17 @@
"outputPathIsSetByUser": 0, "outputPathIsSetByUser": 0,
"processed": 1 "processed": 1
}, },
"\/img\/gogs-large-resize.png": {
"fileType": 32768,
"ignore": 0,
"ignoreWasSetByUser": 0,
"initialSize": 52238,
"inputAbbreviatedPath": "\/img\/gogs-large-resize.png",
"outputAbbreviatedPath": "\/img\/gogs-large-resize.png",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"processed": 1
},
"\/img\/gogs-lg.png": { "\/img\/gogs-lg.png": {
"fileType": 32768, "fileType": 32768,
"ignore": 0, "ignore": 0,


BIN
public/img/gogs-large-resize.png View File

Before After
Width: 621  |  Height: 200  |  Size: 52 kB

Loading…
Cancel
Save