summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 12:25:18 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 12:25:18 -0700
commite431e4cd7d4f496ceefc374c7c922d8ff1d910bd (patch)
treed2c77e0b417b91f8d2e8d9608d881600019eb5a5
parentMerge branch 'jc/cache-tree' into next (diff)
parentMerge branch 'pb/config' (diff)
downloadtgif-e431e4cd7d4f496ceefc374c7c922d8ff1d910bd.tar.xz
Merge branch 'master' into next
* master: Fix "git help -a" terminal autosizing diff-index: fix compilation warnings.
-rw-r--r--builtin-help.c1
-rw-r--r--diff-index.c1
-rw-r--r--git.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/builtin-help.c b/builtin-help.c
index 10a59cc403..7470faa566 100644
--- a/builtin-help.c
+++ b/builtin-help.c
@@ -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"
diff --git a/diff-index.c b/diff-index.c
index 86940123b3..8c9f60173b 100644
--- a/diff-index.c
+++ b/diff-index.c
@@ -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 619c6654e4..b761150c29 100644
--- 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"