Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
nexedi
gitlab-shell
Commits
b37c4d67
Commit
b37c4d67
authored
Feb 18, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Safer line sub for git-annex command
parent
8ab4228b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG
CHANGELOG
+3
-0
VERSION
VERSION
+1
-1
lib/gitlab_shell.rb
lib/gitlab_shell.rb
+1
-1
No files found.
CHANGELOG
View file @
b37c4d67
v2.5.2
- Safer line sub for git-annex command
v2.5.1
- Expect broadcast message to return empty JSON if no message now
...
...
VERSION
View file @
b37c4d67
2.5.
1
2.5.
2
lib/gitlab_shell.rb
View file @
b37c4d67
...
...
@@ -51,7 +51,7 @@ class GitlabShell
@git_cmd
=
args
.
first
if
@git_cmd
==
'git-annex-shell'
&&
@config
.
git_annex_enabled?
@repo_name
=
escape_path
(
args
[
2
].
gsub
(
"
\/
~
\/
"
,
''
))
@repo_name
=
escape_path
(
args
[
2
].
sub
(
/\A\/~\//
,
''
))
# Make sure repository has git-annex enabled
init_git_annex
(
@repo_name
)
...
...
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