mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Minor fix for #2396
This commit is contained in:
		@@ -3,7 +3,7 @@ Gogs - Go Git Service [
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##### Current version: 0.8.22
 | 
					##### Current version: 0.8.23
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Web | UI  | Preview  |
 | 
					| Web | UI  | Preview  |
 | 
				
			||||||
|:-------------:|:-------:|:-------:|
 | 
					|:-------------:|:-------:|:-------:|
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							@@ -17,7 +17,7 @@ import (
 | 
				
			|||||||
	"github.com/gogits/gogs/modules/setting"
 | 
						"github.com/gogits/gogs/modules/setting"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const APP_VER = "0.8.22.0115"
 | 
					const APP_VER = "0.8.23.0125"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func init() {
 | 
					func init() {
 | 
				
			||||||
	runtime.GOMAXPROCS(runtime.NumCPU())
 | 
						runtime.GOMAXPROCS(runtime.NumCPU())
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -91,7 +91,7 @@ func handleServerConn(keyID string, chans <-chan ssh.NewChannel) {
 | 
				
			|||||||
						return
 | 
											return
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
					req.Reply(true, nil);
 | 
										req.Reply(true, nil)
 | 
				
			||||||
					go io.Copy(input, ch)
 | 
										go io.Copy(input, ch)
 | 
				
			||||||
					io.Copy(ch, stdout)
 | 
										io.Copy(ch, stdout)
 | 
				
			||||||
					io.Copy(ch.Stderr(), stderr)
 | 
										io.Copy(ch.Stderr(), stderr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1490,6 +1490,9 @@ footer .container .links > *:first-child {
 | 
				
			|||||||
  border-radius: 3px;
 | 
					  border-radius: 3px;
 | 
				
			||||||
  box-shadow: inset 0 -1px 0 #bbb;
 | 
					  box-shadow: inset 0 -1px 0 #bbb;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.markdown input[type="checkbox"] {
 | 
				
			||||||
 | 
					  vertical-align: middle !important;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
.markdown .csv-data td,
 | 
					.markdown .csv-data td,
 | 
				
			||||||
.markdown .csv-data th {
 | 
					.markdown .csv-data th {
 | 
				
			||||||
  padding: 5px;
 | 
					  padding: 5px;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -458,6 +458,10 @@
 | 
				
			|||||||
		box-shadow:inset 0 -1px 0 #bbb;
 | 
							box-shadow:inset 0 -1px 0 #bbb;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						input[type="checkbox"] {
 | 
				
			||||||
 | 
							vertical-align: middle !important;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.csv-data td,
 | 
						.csv-data td,
 | 
				
			||||||
	.csv-data th {
 | 
						.csv-data th {
 | 
				
			||||||
		padding:5px;
 | 
							padding:5px;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +1 @@
 | 
				
			|||||||
0.8.22.0115
 | 
					0.8.23.0125
 | 
				
			||||||
		Reference in New Issue
	
	Block a user