This variable is always set to other value

Signed-off-by: Michal Čihař <michal@cihar.com>
No need to set start twice

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove commit status is always set

Signed-off-by: Michal Čihař <michal@cihar.com>
Simplify code for setting $is_https

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove break after return

Signed-off-by: Michal Čihař <michal@cihar.com>
Initialize array

Signed-off-by: Michal Čihař <michal@cihar.com>
Simplify array initialization

Signed-off-by: Michal Čihař <michal@cihar.com>
Get rid of overridable return type

Separate function for collecting the data from pretty printing it.

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove documentation for removed parameter

Signed-off-by: Michal Čihař <michal@cihar.com>
Merge pull request #1165 from nijel/cleanup

Various code cleanups