Merge branch 'master' into next
authorJunio C Hamano <junkio@cox.net>
Thu, 27 Apr 2006 19:25:18 +0000 (12:25 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 27 Apr 2006 19:25:18 +0000 (12:25 -0700)
* master:
Fix "git help -a" terminal autosizing
diff-index: fix compilation warnings.

builtin-help.c
diff-index.c
git.c
index 10a59cc403d68166c614f2cf023d62413c5c1fcb..7470faa56692e17608d202000b78a91565360b72 100644 (file)
@@ -3,6 +3,7 @@
  *
  * Builtin help-related commands (help, usage, version)
  */
+#include <sys/ioctl.h>
 #include "cache.h"
 #include "builtin.h"
 #include "exec_cmd.h"
index 86940123b37d9b7853643e32392cb80cda6e6b86..8c9f60173b18a68f6ea224b2e6fc9c0eab4b9d0f 100644 (file)
@@ -11,7 +11,6 @@ COMMON_DIFF_OPTIONS_HELP;
 int main(int argc, const char **argv)
 {
        struct rev_info rev;
-       int match_missing = 0;
        int cached = 0;
        int i;
 
diff --git a/git.c b/git.c
index 619c6654e45d0208adefc6aecf723c5c25fd4a7b..b761150c29eaee5e1faf102e27a08f87c831aa64 100644 (file)
--- a/git.c
+++ b/git.c
@@ -8,7 +8,6 @@
 #include <errno.h>
 #include <limits.h>
 #include <stdarg.h>
-#include <sys/ioctl.h>
 #include "git-compat-util.h"
 #include "exec_cmd.h"