Skip to content

Commit

Permalink
Document the --no-commit flag better
Browse files Browse the repository at this point in the history
Pasky and I did overlapping documentation independently; this is to
pick up better wordings from what he sent me.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 5, 2005
1 parent 3746501 commit d8ae1d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Documentation/merge-pull-opts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

--no-commit::
Perform the merge but pretend the merge failed and do
not autocommit.
not autocommit, to give the user a chance to inspect and
further tweak the merge result before committing.

-s <strategy>::
use that merge strategy; can be given more than once to
Expand Down
2 changes: 1 addition & 1 deletion git-pull.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
. git-sh-setup || die "Not a git archive"

usage () {
die "git pull [-n] [-s strategy]... <repo> <head>..."
die "git pull [-n] [--no-commit] [-s strategy]... <repo> <head>..."
}

strategy_args= no_summary= no_commit=
Expand Down

0 comments on commit d8ae1d1

Please sign in to comment.