summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add a manpage describing the patch formatHEADmasterUwe Kleine-König2011-04-281-0/+55
| | | | | | It also has some ideas for additional meta-data Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* don't use == for testUwe Kleine-König2011-04-271-1/+1
| | | | | | bash's test supports ==, dash's doesn't, so just use = Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* 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>
* don't fail silently if getting the GIT_DIR failsUwe Kleine-König2011-04-271-1/+1
| | | | | | As ug runs under $(set -e) ug silently failed when git rev-parse failed. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* fix formatting of $(ug --help)Uwe Kleine-König2011-04-271-2/+2
| | | | 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-242-4/+3
| | | | | | | 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-088-0/+461
Signed-off-by: Uwe Kleine-König <ukleinek@strlen.de>