Add Vim modelines for consistent spacing TopGit shell scripts use tabs and this commit instructs Vim via modeline not to expand tabs. Signed-off-by: martin f. krafft <madduck@debian.org> Acked-by: Petr Baudis <pasky@ucw.cz>
tg info, tg patch: Work on top-base HEAD too
tg info: Carry over missing Subject line in topmsg
Account for direct-tg arguments in Usage strings
Fix recursive tg calls: Pass tg parameters through properly
tg info: Note if local head is ahead of remote mate
tg info: Asterisk-prefix 'out-of-band' warnings
tg info: Show information about remote branches
tg-info: fix sed typo There was a semicolon missing before a closing brace. The result is an error message on some operating systems (e.g., Mac OS 10.3). $ tg info Topic Branch: t/some-topic ( 2/ 2 commits) Subject: [PATCH] t/some-topic Base: 082a7c9 sed: 1: "1{s/^/Depends: /;n}; s/ ...": extra characters a t the end of n command Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
supply template argument to mktemp mktemp versions before 1.5 did not allow omitting the template (prefix.XXXXXX) argument. Thus on Mac OS X, $ mktemp -d usage: mktemp [-d] [-q] [-t prefix] [-u] template ... mktemp [-d] [-q] [-u] -t prefix So supply a filename template. To maintain the intended behavior, we have to add -t, too. It was implied before. Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
tg-info: pretty print dependencies Print one dependency per line in tg-info output. [pb: Simplified implementation.] Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Petr Baudis <pasky@suse.cz>
needs_update(): Return non-zero if update is required tg summary can avoid a single extra fork this way, and will be able to harvest extra status information from needs_update.
tg-info.sh: Show missing dependencies (needs_update() enhancement) needs_update() now verifies if the _dep refs exists and adds it to a $missing_deps list if that's not the case.
tg-info.sh: Fix list of >1 dependencies
TopGit - A different patch queue manager Initial commit for TopGit. It is probably still awfully buggy, but should be actually feature-complete for v0.1 now. The most basic variants of create, delete, info, patch, summary and update commands plus a trivial pre-commit hook is available, and we can deal with recursive updates too.