Skip to content

Remove check for git from ghe-ssh#393

Merged
snh merged 1 commit into
masterfrom
snh/remove-git-check
Apr 24, 2018
Merged

Remove check for git from ghe-ssh#393
snh merged 1 commit into
masterfrom
snh/remove-git-check

Conversation

@snh

@snh snh commented Apr 24, 2018

Copy link
Copy Markdown
Member

The changes in #362 and #378 introduced a bug that effectively disabled SSH multiplexing in all cases.

The && isn't interpreted as part of the ||, so GHE_DISABLE_SSH_MUX was always being set to true. This can be demonstrated with the following example:

$ true || echo "One" && echo "Two"
Two
$ false || echo "One" && echo "Two"
One
Two

As git is listed as part of our requirements, and is being used in more and more places in the backup utilities, it should no-longer be considered optional.

/cc @github/backup-utils @djdefi

This introduced a bug, as the && isn't interpreted as part of the ||, so GHE_DISABLE_SSH_MUX was always being set to true.

As git is listed as part of our requirements, and is being used in more and more places in the backup utilities, it should no-longer be optional.
@snh snh added the bug label Apr 24, 2018
@snh snh requested a review from a team April 24, 2018 12:31

@lildude lildude left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Git has been a documented requirement for nearly two years.

@snh snh merged commit 97d5d37 into master Apr 24, 2018
@snh snh deleted the snh/remove-git-check branch April 24, 2018 12:42
@lildude lildude mentioned this pull request May 9, 2018
This was referenced Jul 26, 2023
pluehne pushed a commit to pluehne/backup-utils that referenced this pull request Aug 8, 2023
@bonsohi bonsohi mentioned this pull request Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants