From b75686455c0524f167b6a878c124df40db34b325 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 19 Apr 2010 09:37:20 +0200 Subject: [PATCH 1/3] MSVC: Fix build by adding missing termios.h dummy A use of this header file was introduced in eb80042 (Add missing #include to support TIOCGWINSZ on Solaris, 2010-01-11). Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- compat/vcbuild/include/termios.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 compat/vcbuild/include/termios.h diff --git a/compat/vcbuild/include/termios.h b/compat/vcbuild/include/termios.h new file mode 100644 index 0000000000..0d8552a2c6 --- /dev/null +++ b/compat/vcbuild/include/termios.h @@ -0,0 +1 @@ +/* Intentionally empty file to support building git with MSVC */ From 580b7d36055492024c5381b9d4a7d9d766a6a2fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SZEDER=20G=C3=A1bor?= Date: Mon, 19 Apr 2010 11:52:30 +0200 Subject: [PATCH 2/3] reflog: remove 'show' from 'expire's usage string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most of 'expire's options are not recognized by the 'show' subcommand, hence it errors out. Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- builtin-reflog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin-reflog.c b/builtin-reflog.c index 64e45bd813..bd7880dc04 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -13,7 +13,7 @@ */ static const char reflog_expire_usage[] = -"git reflog (show|expire) [--verbose] [--dry-run] [--stale-fix] [--expire=