Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
f7a2eb0b
Unverified
Commit
f7a2eb0b
authored
Oct 28, 2014
by
boklm
Browse files
chomp twice the output of git commands
Sometimes, git adds an empty line at the end of its output.
parent
c5313227
Changes
1
Show whitespace changes
Inline
Side-by-side
TBBTestSuite/BrowserGit.pm
View file @
f7a2eb0b
...
@@ -31,6 +31,7 @@ sub git_cmd {
...
@@ -31,6 +31,7 @@ sub git_cmd {
sub
git_cmd_ch
{
sub
git_cmd_ch
{
my
(
@res
)
=
git_cmd
(
@
_
);
my
(
@res
)
=
git_cmd
(
@
_
);
chomp
@res
;
chomp
@res
;
chomp
@res
;
return
@res
;
return
@res
;
}
}
...
...
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