Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c6c6de8a
Commit
c6c6de8a
authored
Sep 06, 2018
by
James Lopez
Committed by
Nick Thomas
Sep 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add git_v2 flag to GitalyClient
parent
abc2caaa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/feature-git-v2-flag.yml
changelogs/unreleased/feature-git-v2-flag.yml
+5
-0
lib/gitlab/gitaly_client.rb
lib/gitlab/gitaly_client.rb
+1
-1
No files found.
changelogs/unreleased/feature-git-v2-flag.yml
0 → 100644
View file @
c6c6de8a
---
title
:
Add git_v2 feature flag
merge_request
:
21520
author
:
type
:
added
lib/gitlab/gitaly_client.rb
View file @
c6c6de8a
...
@@ -206,7 +206,7 @@ module Gitlab
...
@@ -206,7 +206,7 @@ module Gitlab
result
result
end
end
SERVER_FEATURE_FLAGS
=
%w[gogit_findcommit]
.
freeze
SERVER_FEATURE_FLAGS
=
%w[gogit_findcommit
git_v2
]
.
freeze
def
self
.
server_feature_flags
def
self
.
server_feature_flags
SERVER_FEATURE_FLAGS
.
map
do
|
f
|
SERVER_FEATURE_FLAGS
.
map
do
|
f
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment