summaryrefslogtreecommitdiffstats
path: root/uglib.sh
Commit message (Collapse)AuthorAgeFilesLines
* uglib: add a level-1 fold marker to fixUwe Kleine-König2011-04-271-0/+1
| | | | | | | | | | | | Without that vim shows: +--207 lines: # assert #---------------- +-- 4 lines: # option parsing #-------- which is a bit misleading. With the new marker vim shows "functions" instead of assert. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* fix option parsing to properly fail when git-rev-parse failsUwe Kleine-König2011-04-271-1/+1
| | | | | | | | | | | Running eval "$(false || exit 1)" doesn't exit the calling shell. For that to work the exit command needs to be echoed. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* use --keep-dashdash for option parsingUwe Kleine-König2010-09-241-4/+1
| | | | | | | This only works since git v1.7.2-rc3~1^2~2, so document this requirement in a README file. Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* new todo: which encoding should be assumed for .ubergit/msg?Uwe Kleine-König2010-09-241-0/+1
| | | | | | | | | | | | The message is used as commit log, so it should be recoded to $(git config i18n.commitencoding || echo UTF-8). Probably the most sane choice is the encoding of $1. $(git config i18n.commitencoding || echo UTF-8) won't work, as the config is a per-repository thing, while .ubergit/msg is possibly contained in different repositories. Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* reorder functions in uglib.sh to be in alphabetic orderUwe Kleine-König2010-09-241-5/+5
| | | | Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* properly implement authorinfo and committerinfoUwe Kleine-König2010-09-241-8/+29
| | | | | | authorinfo still lacks parsing .ubergit/author Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* let commitenv use authorinfo and committerinfoUwe Kleine-König2010-09-221-2/+1
| | | | | | | Doesn't improve visibly as authorinfo and committerinfo are not yet implemented. Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* remove trailing white spaceUwe Kleine-König2010-09-221-2/+2
| | | | Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>
* early draft of ubergitUwe Kleine-König2010-09-081-0/+193
Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>