git-graft now defaults to current branch instead of master

Signed-off-by: Tj Holowaychuk <tj@vision-media.ca>
This commit is contained in:
Kenneth Reitz 2011-04-05 09:08:34 -04:00 committed by Tj Holowaychuk
parent 6de78f63f4
commit 2d94afe185
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
test -z $1 && echo "source branch required." && exit 1
src=$1
dst=${2-master}
dst=${2-}
git checkout $dst \
&& git merge --no-ff $src \

View file

@ -7,7 +7,7 @@ git-graft(1) -- Merge and destroy a given branch
## DESCRIPTION
Merge commits from &lt;src-branch&gt; into &lt;dest-branch&gt; which defaults to &lt;master&gt;.
Merge commits from &lt;src-branch&gt; into &lt;dest-branch&gt; which defaults to the current branch.
## OPTIONS