diff options
| author | Teddy Wing | 2020-08-05 22:21:44 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2020-08-06 00:18:19 +0200 | 
| commit | a9c9d1c3a20af5779145dbba8cdfbf0d1fbb960f (patch) | |
| tree | 045b3e594a5679e3867cb39037f968f0c93855f9 | |
| parent | fd63548311453520eef6d20908ff6fc8454d11df (diff) | |
| download | git-suggestion-a9c9d1c3a20af5779145dbba8cdfbf0d1fbb960f.tar.bz2 | |
Rename the project `git-suggestion`
Since this is a Git command, this makes more sense to me.
| -rw-r--r-- | README.md | 12 | ||||
| -rw-r--r-- | doc/git-sugapply.1 | 8 | ||||
| -rw-r--r-- | doc/git-sugapply.1.txt | 4 | ||||
| -rw-r--r-- | doc/git-sugpatch.1 | 8 | ||||
| -rw-r--r-- | doc/git-sugpatch.1.txt | 4 | ||||
| -rw-r--r-- | github-suggestion/src/url.rs | 2 | ||||
| -rw-r--r-- | src/owner_repo.rs | 6 | 
7 files changed, 22 insertions, 22 deletions
| @@ -1,5 +1,5 @@ -github-suggestion -================= +git-suggestion +==============  Diffs and patches for GitHub pull request suggestions. Given a suggestion ID,  get a unified diff of the suggested change, or apply it directly to the working @@ -61,18 +61,18 @@ copy in a Git repository.  ## Install -On Mac OS X, GitHub-Suggestion can be installed with Homebrew: +On Mac OS X, Git-Suggestion can be installed with Homebrew: -	$ brew install teddywing/formulae/github-suggestion +	$ brew install teddywing/formulae/git-suggestion  To compile from source or install on other platforms: -	$ cargo install --git https://github.com/teddywing/github-suggestion.git --root /usr/local +	$ cargo install --git https://github.com/teddywing/git-suggestion.git --root /usr/local  ## Uninstall -	$ cargo uninstall --root /usr/local github-suggestion +	$ cargo uninstall --root /usr/local git-suggestion  ## License diff --git a/doc/git-sugapply.1 b/doc/git-sugapply.1 index 477714a..d9eb195 100644 --- a/doc/git-sugapply.1 +++ b/doc/git-sugapply.1 @@ -2,12 +2,12 @@  .\"     Title: git-sugapply  .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]  .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\"      Date: 08/04/2020 +.\"      Date: 08/06/2020  .\"    Manual: \ \&  .\"    Source: \ \&  .\"  Language: English  .\" -.TH "GIT\-SUGAPPLY" "1" "08/04/2020" "\ \&" "\ \&" +.TH "GIT\-SUGAPPLY" "1" "08/06/2020" "\ \&" "\ \&"  .\" -----------------------------------------------------------------  .\" * Define some portability stuff  .\" ----------------------------------------------------------------- @@ -94,7 +94,7 @@ Suggestion references can be specified either as URLs:  .RS 4  .\}  .nf -$ git sugapply https://github\&.com/teddywing/github\-suggestion/pull/1#discussion_r459691747 +$ git sugapply https://github\&.com/teddywing/git\-suggestion/pull/1#discussion_r459691747  .fi  .if n \{\  .RE @@ -118,7 +118,7 @@ They can also be mixed:  .RS 4  .\}  .nf -$ git sugapply 459692838 https://github\&.com/teddywing/github\-suggestion/pull/1#discussion_r459691747 +$ git sugapply 459692838 https://github\&.com/teddywing/git\-suggestion/pull/1#discussion_r459691747  .fi  .if n \{\  .RE diff --git a/doc/git-sugapply.1.txt b/doc/git-sugapply.1.txt index 31c677f..d513505 100644 --- a/doc/git-sugapply.1.txt +++ b/doc/git-sugapply.1.txt @@ -56,7 +56,7 @@ EXAMPLES  --------  Suggestion references can be specified either as URLs: -	$ git sugapply https://github.com/teddywing/github-suggestion/pull/1#discussion_r459691747 +	$ git sugapply https://github.com/teddywing/git-suggestion/pull/1#discussion_r459691747  or as comment IDs: @@ -64,7 +64,7 @@ or as comment IDs:  They can also be mixed: -	$ git sugapply 459692838 https://github.com/teddywing/github-suggestion/pull/1#discussion_r459691747 +	$ git sugapply 459692838 https://github.com/teddywing/git-suggestion/pull/1#discussion_r459691747  SEE ALSO  -------- diff --git a/doc/git-sugpatch.1 b/doc/git-sugpatch.1 index 0a74b4c..6f5ad15 100644 --- a/doc/git-sugpatch.1 +++ b/doc/git-sugpatch.1 @@ -2,12 +2,12 @@  .\"     Title: git-sugpatch  .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]  .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\"      Date: 08/04/2020 +.\"      Date: 08/06/2020  .\"    Manual: \ \&  .\"    Source: \ \&  .\"  Language: English  .\" -.TH "GIT\-SUGPATCH" "1" "08/04/2020" "\ \&" "\ \&" +.TH "GIT\-SUGPATCH" "1" "08/06/2020" "\ \&" "\ \&"  .\" -----------------------------------------------------------------  .\" * Define some portability stuff  .\" ----------------------------------------------------------------- @@ -94,7 +94,7 @@ Suggestion references can be specified either as URLs:  .RS 4  .\}  .nf -$ git sugpatch https://github\&.com/teddywing/github\-suggestion/pull/1#discussion_r459691747 +$ git sugpatch https://github\&.com/teddywing/git\-suggestion/pull/1#discussion_r459691747  .fi  .if n \{\  .RE @@ -118,7 +118,7 @@ They can also be mixed:  .RS 4  .\}  .nf -$ git sugpatch 459692838 https://github\&.com/teddywing/github\-suggestion/pull/1#discussion_r459691747 +$ git sugpatch 459692838 https://github\&.com/teddywing/git\-suggestion/pull/1#discussion_r459691747  .fi  .if n \{\  .RE diff --git a/doc/git-sugpatch.1.txt b/doc/git-sugpatch.1.txt index 5076f64..c1513a4 100644 --- a/doc/git-sugpatch.1.txt +++ b/doc/git-sugpatch.1.txt @@ -55,7 +55,7 @@ EXAMPLES  --------  Suggestion references can be specified either as URLs: -	$ git sugpatch https://github.com/teddywing/github-suggestion/pull/1#discussion_r459691747 +	$ git sugpatch https://github.com/teddywing/git-suggestion/pull/1#discussion_r459691747  or as comment IDs: @@ -63,7 +63,7 @@ or as comment IDs:  They can also be mixed: -	$ git sugpatch 459692838 https://github.com/teddywing/github-suggestion/pull/1#discussion_r459691747 +	$ git sugpatch 459692838 https://github.com/teddywing/git-suggestion/pull/1#discussion_r459691747  SEE ALSO  -------- diff --git a/github-suggestion/src/url.rs b/github-suggestion/src/url.rs index 0ff7baa..413a37d 100644 --- a/github-suggestion/src/url.rs +++ b/github-suggestion/src/url.rs @@ -47,7 +47,7 @@ pub struct SuggestionUrl {  }  /// Parses a URL with the format -/// `https://github.com/teddywing/github-suggestion/pull/1#discussion_r459691747`. +/// `https://github.com/teddywing/git-suggestion/pull/1#discussion_r459691747`.  impl FromStr for SuggestionUrl {      type Err = Error; diff --git a/src/owner_repo.rs b/src/owner_repo.rs index 273ef6f..04839fc 100644 --- a/src/owner_repo.rs +++ b/src/owner_repo.rs @@ -56,8 +56,8 @@ pub struct OwnerRepo {  }  /// Parse an owner-repo pair from a Git remote. Can be either an HTTP URL -/// (`https://github.com/teddywing/github-suggestion.git`) or an SSH-style -/// reference (`git@github.com:teddywing/github-suggestion.git`). +/// (`https://github.com/teddywing/git-suggestion.git`) or an SSH-style +/// reference (`git@github.com:teddywing/git-suggestion.git`).  impl FromStr for OwnerRepo {      type Err = OwnerRepoError; @@ -108,7 +108,7 @@ impl OwnerRepo {      }      /// Parse an `OwnerRepo` from an SSH-style reference -    /// (`git@github.com:teddywing/github-suggestion.git`). +    /// (`git@github.com:teddywing/git-suggestion.git`).      pub fn from_ssh(ssh: &str) -> Result<Self, OwnerRepoError> {          let address_path: Vec<_> = ssh.splitn(2, ':').collect();          let path = address_path.get(1) | 
