From: Tay Ray Chuan Date: Sun, 05 Aug 2012 18:45:38 GMT Subject: [PATCH v3 0/2] allow recovery from command name typos Message-ID: <1344192340-19415-1-git-send-email-rctay89@gmail.com> In-Reply-To: <1336287330-7215-1-git-send-email-rctay89@gmail.com> As discussed in the previous iteration, testing for prompt-availabilty has been reworked (patch #2). This is done with the aid of patch #1, which extracts the opening of /dev/tty from git_terminal_prompt() into a terminal_open(). Its return value indicates if a terminal is available for prompting. On systems with HAVE_DEV_TTY unset, terminal_prompt() falls back to checking the tty-ness of stdin and stderr (as getpass() uses both). Contents: [PATCH v3 1/2] add interface for /dev/tty interaction [PATCH v3 2/2] allow recovery from command name typos -- 1.7.12.rc1.187.g6dd9156