Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
e6446ea2
Verified
Commit
e6446ea2
authored
Mar 02, 2017
by
Jan Alexander Steffens (heftig)
Browse files
gitpkg: Only display .gitmodules if present
parent
869d65ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archbuild/files/gitpkg
View file @
e6446ea2
...
...
@@ -382,12 +382,10 @@ unless diff.empty?
puts
diff
,
""
end
header
"Submodules"
gitmodules
=
repo
.
read_file
(
commit
,
".gitmodules"
)
if
gitmodules
puts
gitmodules
else
puts
"None"
header
"Submodules"
puts
gitmodules
,
""
end
Dir
.
unlink
"src"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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