summaryrefslogtreecommitdiffstats
path: root/uglib.sh
diff options
context:
space:
mode:
authorUwe Kleine-König <ukleinek@strlen.de>2010-09-22 14:27:50 +0200
committerUwe Kleine-König <ukleinek@strlen.de>2010-09-22 14:27:50 +0200
commit0ed430e6cba20908c98c0f199d79e0ab5f85d0da (patch)
tree6a9375e246d182209b01cd07ddb34c498b390b5b /uglib.sh
parentfd4babdfb4b795084701bae98117dbd1e486419d (diff)
downloadubergit-0ed430e6cba20908c98c0f199d79e0ab5f85d0da.tar.gz
ubergit-0ed430e6cba20908c98c0f199d79e0ab5f85d0da.tar.xz
let commitenv use authorinfo and committerinfo
Doesn't improve visibly as authorinfo and committerinfo are not yet implemented. Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
Diffstat (limited to 'uglib.sh')
-rw-r--r--uglib.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/uglib.sh b/uglib.sh
index 7168e97..1c2398b 100644
--- a/uglib.sh
+++ b/uglib.sh
@@ -25,8 +25,7 @@ commitenv() {
local commit
commit="$1"; shift
- # XXX: apply the right dose of authorinfo(), committerinfo(), eval and sq()
- env GIT_AUTHOR_NAME='Uwe Kleine-König' GIT_AUTHOR_EMAIL='ukl@pengutronix.de' GIT_AUTHOR_DATE='1283281597 +0200' GIT_COMMITTER_NAME='Uwe Kleine-König' GIT_COMMITTER_EMAIL='ukl@pengutronix.de' GIT_COMMITTER_DATE='1283281597 +0200' "$@"
+ eval env $(authorinfo "$commit") $(committerinfo "$commit") "$(sq "$@")"
}
## commiterinfo ## {{{2