Move the pick_author code to git-sh-setup
commit0cae23467ada9b94210a0e770064841efea8ad40
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 25 Jun 2007 00:04:11 +0000 (25 01:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2007 00:45:01 +0000 (24 17:45 -0700)
tree9d9d725204a151bf5f307bd77ee7a4672a817480
parentaeb59328453cd4f438345ea79ff04c96bccbbbb8
Move the pick_author code to git-sh-setup

At the moment, only git-commit uses that code, to pick the author name,
email and date from a given commit.

This code will be reused in git rebase --interactive.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-commit.sh
git-sh-setup.sh