Skip to content

Commit 0fc334a

Browse files
committed
Merge branch 'master' into issue-4173-alternative-fix
2 parents 5d13c8b + 681345d commit 0fc334a

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

models/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
13791379
LowerName: strings.ToLower(opts.Name),
13801380
Description: opts.Description,
13811381
IsPrivate: opts.IsPrivate,
1382-
IsFsckEnabled: true,
1382+
IsFsckEnabled: !opts.IsMirror,
13831383
}
13841384

13851385
sess := x.NewSession()

modules/auth/repo_form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func (f *InitializeLabelsForm) Validate(ctx *macaron.Context, errs binding.Error
367367
// swagger:model MergePullRequestOption
368368
type MergePullRequestForm struct {
369369
// required: true
370-
// enum: merge, rebase, rebase-merge, squash
370+
// enum: merge,rebase,rebase-merge,squash
371371
Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"`
372372
MergeTitleField string
373373
MergeMessageField string

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pre > code {
7575
}
7676
.full.height {
7777
padding: 0;
78-
margin: 0 0 -@footer-margin 0;
78+
margin: 0 0 calc(-@footer-margin - 2px) 0;
7979
min-height: 100%;
8080
}
8181
.following.bar {
@@ -126,9 +126,10 @@ pre > code {
126126
}
127127
#navbar {
128128
width: 100vw;
129+
padding: 0 .5rem;
129130
}
130131
#navbar .brand {
131-
margin: 0 0 0 .5rem;
132+
margin: 0;
132133
}
133134
@media only screen and (max-width: 767px) {
134135
#navbar:not(.shown) > *:not(:first-child) {
@@ -470,6 +471,8 @@ footer {
470471
width: 100%;
471472
color: #888888;
472473
.container {
474+
width: 100vw !important;
475+
padding: 0 .5rem;
473476
.fa {
474477
width: 16px;
475478
text-align: center;

public/less/_dashboard.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
.dashboard-repos {
6262
margin: 0 1px;
6363
}
64+
65+
.dashboard-navbar {
66+
width: 100vw;
67+
padding: 0 .5rem;
68+
}
6469
}
6570

6671
&.feeds {

templates/swagger/v1_json.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7718,9 +7718,9 @@
77187718
"type": "string",
77197719
"enum": [
77207720
"merge",
7721-
" rebase",
7722-
" rebase-merge",
7723-
" squash"
7721+
"rebase",
7722+
"rebase-merge",
7723+
"squash"
77247724
]
77257725
},
77267726
"MergeMessageField": {

templates/user/dashboard/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="ui container">
1+
<div class="dashboard-navbar">
22
<div class="ui secondary stackable menu">
33
<div class="item">
44
<div class="ui floating dropdown link jump">

0 commit comments

Comments
 (0)