Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  git-send-email: Document configuration options
  git-merge: warn when -m provided on a fast forward
  • Loading branch information
Junio C Hamano committed Mar 12, 2007
2 parents 2422f1c + fc09524 commit 240c77c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Documentation/git-send-email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ The --cc option must be repeated for each user you want on the cc list.
The --to option must be repeated for each user you want on the to list.


CONFIGURATION
-------------
sendemail.aliasesfile::
To avoid typing long email addresses, point this to one or more
email aliases files. You must also supply 'sendemail.aliasfiletype'.

sendemail.aliasfiletype::
Format of the file(s) specified in sendemail.aliasesfile. Must be
one of 'mutt', 'mailrc', 'pine', or 'gnus'.

sendemail.smtpserver::
Default smtp server to use.

Author
------
Written by Ryan Anderson <ryan@michonline.com>
Expand Down
7 changes: 6 additions & 1 deletion git-merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,12 @@ f,*)
git-update-index --refresh 2>/dev/null
new_head=$(git-rev-parse --verify "$1^0") &&
git-read-tree -v -m -u --exclude-per-directory=.gitignore $head "$new_head" &&
finish "$new_head" "Fast forward" || exit
msg="Fast forward"
if test -n "$have_message"
then
msg="$msg (no commit created; -m option ignored)"
fi
finish "$new_head" "$msg" || exit
dropsave
exit 0
;;
Expand Down

0 comments on commit 240c77c

Please sign in to comment.