diff --git a/bin/git-review b/bin/git-review deleted file mode 100755 index 8543118..0000000 --- a/bin/git-review +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -branch=${1:-`git rev-parse --abbrev-ref HEAD`} -master=${2:-master} - -git diff --name-status `git merge-base $branch $master`..$branch diff --git a/etc/bash_completion.sh b/etc/bash_completion.sh index efdd8e7..db68dfa 100644 --- a/etc/bash_completion.sh +++ b/etc/bash_completion.sh @@ -61,10 +61,6 @@ _git_refactor(){ __git_extras_workflow "refactor" } -_git_review(){ - __gitcomp "$(__git_heads)" -} - _git_squash(){ __gitcomp "$(__git_heads)" } diff --git a/man/git-review.1 b/man/git-review.1 deleted file mode 100644 index d2ac257..0000000 --- a/man/git-review.1 +++ /dev/null @@ -1,73 +0,0 @@ -.\" generated with Ronn/v0.7.3 -.\" http://github.com/rtomayko/ronn/tree/0.7.3 -. -.TH "GIT\-REVIEW" "1" "October 2012" "" "" -. -.SH "NAME" -\fBgit\-review\fR \- Review files changed since branch was created -. -.SH "SYNOPSIS" -\fBgit\-review\fR [] [] -. -.SH "DESCRIPTION" -Shows all the file changes thave have happened since a a branch was created from it\'s master (parent) branch\. This can be useful for code reviews when you don\'t want to see the changes that have happened in master since the branching took place\. -. -.SH "OPTIONS" - -. -.P -The branch to compare with the \. Defaults to the current branch\. -. -.P - -. -.P -The branch that the was originally branched from\. Defaults to master\. -. -.SH "EXAMPLES" -Show changes in current branch since it was branched from master -. -.IP "" 4 -. -.nf - -$ git review -. -.fi -. -.IP "" 0 -. -.P -Show changes in test branch since it was branched from master -. -.IP "" 4 -. -.nf - -$ git review test -. -.fi -. -.IP "" 0 -. -.P -Show changes in hotfix1\.1 branch since it was branched from v1\.0 -. -.IP "" 4 -. -.nf - -$ git review hotfix1\.1 v1\.0 -. -.fi -. -.IP "" 0 -. -.SH "AUTHOR" -Written by Craig MacGregor <\fIcraigerm@gmail\.com\fR> -. -.SH "REPORTING BUGS" -<\fIhttps://github\.com/visionmedia/git\-extras/issues\fR> -. -.SH "SEE ALSO" -<\fIhttps://github\.com/visionmedia/git\-extras\fR> diff --git a/man/git-review.1.html b/man/git-review.1.html deleted file mode 100644 index 35cf9db..0000000 --- a/man/git-review.1.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - git-review(1) - Review files changed since branch was created - - - - -
- - - -
    -
  1. git-review(1)
  2. -
  3. -
  4. git-review(1)
  5. -
- -

NAME

-

- git-review - Review files changed since branch was created -

- -

SYNOPSIS

- -

git-review [<branchname>] [<master>]

- -

DESCRIPTION

- -

Shows all the file changes thave have happened since a a branch was -created from it's master (parent) branch. This can be useful for code reviews -when you don't want to see the changes that have happened in master since the -branching took place.

- -

OPTIONS

- -

<branchname>

- -

The branch to compare with the <master branch>. Defaults to the - current branch.

- -

<master>

- -

The branch that the <branchname> was originally branched - from. Defaults to master.

- -

EXAMPLES

- -

Show changes in current branch since it was branched from master

- -
$ git review
-
- -

Show changes in test branch since it was branched from master

- -
$ git review test
-
- -

Show changes in hotfix1.1 branch since it was branched from v1.0

- -
$ git review hotfix1.1 v1.0
-
- -

AUTHOR

- -

Written by Craig MacGregor <craigerm@gmail.com>

- -

REPORTING BUGS

- -

<https://github.com/visionmedia/git-extras/issues>

- -

SEE ALSO

- -

<https://github.com/visionmedia/git-extras>

- - -
    -
  1. -
  2. October 2012
  3. -
  4. git-review(1)
  5. -
- -
- - diff --git a/man/git-review.md b/man/git-review.md deleted file mode 100644 index 86216c1..0000000 --- a/man/git-review.md +++ /dev/null @@ -1,48 +0,0 @@ -git-review(1) -- Review files changed since branch was created -============================================================== - -## SYNOPSIS - -`git-review` [<branchname>] [<master>] - -## DESCRIPTION -Shows all the file changes thave have happened since a a branch was -created from it's master (parent) branch. This can be useful for code reviews -when you don't want to see the changes that have happened in master since the -branching took place. - -## OPTIONS - - <branchname> - - The branch to compare with the <master branch>. Defaults to the - current branch. - - <master> - - The branch that the <branchname> was originally branched - from. Defaults to master. - -## EXAMPLES - -Show changes in current branch since it was branched from master - $ git review - -Show changes in test branch since it was branched from master - $ git review test - -Show changes in hotfix1.1 branch since it was branched from v1.0 - $ git review hotfix1.1 v1.0 - -## AUTHOR - -Written by Craig MacGregor <> - -## REPORTING BUGS - -<> - -## SEE ALSO - -<> -