From: Mikhail Gusarov <dottedmag@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Сломался git.alt Date: Thu, 11 Dec 2008 20:25:22 +0600 Message-ID: <877i66u6ul.fsf@frontier.dottedmag.net> (raw) In-Reply-To: <20081211141639.GA13330@wo.int.altlinux.org> (Dmitry V. Levin's message of "Thu, 11 Dec 2008 17:16:40 +0300") [-- Attachment #1: Type: text/plain, Size: 326 bytes --] Twas brillig at 17:16:40 11.12.2008 UTC+03 when ldv@altlinux.org did gyre and gimble: DVL> Я выключил pty allocation. Используйте $ ssh git.alt help Предлагаю это так и написать, вместо вываливания сломанного usage. Патч в аттаче. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-Fixed-girar-sh-output-with-PTY-allocation-disabled.patch --] [-- Type: text/x-diff, Size: 669 bytes --] >From 504997c7bea2324678856a586737fecfb3f95090 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov <dottedmag@dottedmag.net> Date: Thu, 11 Dec 2008 20:24:35 +0600 Subject: [PATCH] Fixed girar-sh output with PTY allocation disabled. --- bin/girar-sh.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/girar-sh.c b/bin/girar-sh.c index 211c70e..d73fa9b 100644 --- a/bin/girar-sh.c +++ b/bin/girar-sh.c @@ -194,6 +194,6 @@ main (int ac, char *av[]) shell(av); } - error(0, 0, "Invalid number of arguments"); - show_help(EXIT_FAILURE); + error(0, 0, "Not enough arguments. Try the 'help' command."); + exit(EXIT_FAILURE); } -- 1.6.0.3 [-- Attachment #3: Type: text/plain, Size: 6 bytes --] --
prev parent reply other threads:[~2008-12-11 14:25 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-12-11 13:41 Kirill A. Shutemov 2008-12-11 14:16 ` Dmitry V. Levin 2008-12-11 14:25 ` Mikhail Gusarov [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=877i66u6ul.fsf@frontier.dottedmag.net \ --to=dottedmag@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git