-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip empty lines when parsing .git-credentials
- Loading branch information
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ const SOCKET_PATH: &str = "./cli-nicator.sock"; | |
const STORE_PATH: &str = "./.cli-credentials"; | ||
const GIT_PATH: &str = "./.git-credentials"; | ||
const PASSPHRASE: &[u8] = b"abc123\n"; | ||
const GIT_CRED: &[u8] = b"https://gituser:[email protected]/repo"; | ||
const GIT_CRED: &[u8] = b"\nhttps://gituser:[email protected]/repo"; | ||
const WRITE_CRED: &[u8] = b"host=test.com\nprotocol=http\nusername=user\npassword=pw\n"; | ||
const READ_CRED: &[u8] = b"host=test.com\nprotocol=http"; | ||
|
||
|