* [PATCH (topgit) 0/2] tg-completion.bash update
@ 2009-01-05 15:08 Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary` Kirill Smelkov
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kirill Smelkov @ 2009-01-05 15:08 UTC (permalink / raw)
To: git; +Cc: Kirill Smelkov
Kirill Smelkov (2):
tg-completion: complete options for `tg summary`
tg-completion: complete options for `tg remote`
contrib/tg-completion.bash | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary`
2009-01-05 15:08 [PATCH (topgit) 0/2] tg-completion.bash update Kirill Smelkov
@ 2009-01-05 15:08 ` Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 2/2] tg-completion: complete options for `tg remote` Kirill Smelkov
2009-01-05 15:49 ` [PATCH (topgit) 0/2] tg-completion.bash update martin f krafft
2 siblings, 0 replies; 4+ messages in thread
From: Kirill Smelkov @ 2009-01-05 15:08 UTC (permalink / raw)
To: git; +Cc: Kirill Smelkov
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
---
contrib/tg-completion.bash | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/contrib/tg-completion.bash b/contrib/tg-completion.bash
index 67f820e..4d69c05 100755
--- a/contrib/tg-completion.bash
+++ b/contrib/tg-completion.bash
@@ -376,7 +376,15 @@ _tg_remote ()
_tg_summary ()
{
- COMPREPLY=()
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+
+ case "$cur" in
+ *)
+ __tgcomp "
+ --graphviz
+ -t
+ "
+ esac
}
_tg_update ()
--
1.6.1.40.g8ea6a
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH (topgit) 2/2] tg-completion: complete options for `tg remote`
2009-01-05 15:08 [PATCH (topgit) 0/2] tg-completion.bash update Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary` Kirill Smelkov
@ 2009-01-05 15:08 ` Kirill Smelkov
2009-01-05 15:49 ` [PATCH (topgit) 0/2] tg-completion.bash update martin f krafft
2 siblings, 0 replies; 4+ messages in thread
From: Kirill Smelkov @ 2009-01-05 15:08 UTC (permalink / raw)
To: git; +Cc: Kirill Smelkov
Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
---
contrib/tg-completion.bash | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/contrib/tg-completion.bash b/contrib/tg-completion.bash
index 4d69c05..9641d04 100755
--- a/contrib/tg-completion.bash
+++ b/contrib/tg-completion.bash
@@ -369,6 +369,11 @@ _tg_remote ()
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
+ -*)
+ __tgcomp "
+ --populate
+ "
+ ;;
*)
__tgcomp "$(__tg_remotes)"
esac
--
1.6.1.40.g8ea6a
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH (topgit) 0/2] tg-completion.bash update
2009-01-05 15:08 [PATCH (topgit) 0/2] tg-completion.bash update Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary` Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 2/2] tg-completion: complete options for `tg remote` Kirill Smelkov
@ 2009-01-05 15:49 ` martin f krafft
2 siblings, 0 replies; 4+ messages in thread
From: martin f krafft @ 2009-01-05 15:49 UTC (permalink / raw)
To: Kirill Smelkov, git; +Cc: pasky
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
also sprach Kirill Smelkov <kirr@landau.phys.spbu.ru> [2009.01.05.1608 +0100]:
> Kirill Smelkov (2):
> tg-completion: complete options for `tg summary`
> tg-completion: complete options for `tg remote`
Pushed; thanks.
--
martin | http://madduck.net/ | http://two.sentenc.es/
"alles sollte so einfach, wie möglich gemacht sein,
aber nicht einfacher."
-- albert einstein
spamtraps: madduck.bogus@madduck.net
[-- Attachment #2: Digital signature (see http://martin-krafft.net/gpg/) --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-05 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 15:08 [PATCH (topgit) 0/2] tg-completion.bash update Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 1/2] tg-completion: complete options for `tg summary` Kirill Smelkov
2009-01-05 15:08 ` [PATCH (topgit) 2/2] tg-completion: complete options for `tg remote` Kirill Smelkov
2009-01-05 15:49 ` [PATCH (topgit) 0/2] tg-completion.bash update martin f krafft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox