projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ca3874a
)
Merge branch 'pb/regex' into next
author
Junio C Hamano
<junkio@cox.net>
Wed, 5 Apr 2006 00:15:02 +0000
(17:15 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 5 Apr 2006 00:15:02 +0000
(17:15 -0700)
* pb/regex:
On some platforms, certain headers need to be included before regex.h
diffcore-pickaxe.c
patch
|
blob
|
history
diff --git
a/diffcore-pickaxe.c
b/diffcore-pickaxe.c
index
d89f314
..
cfcce31
100644
(file)
--- a/
diffcore-pickaxe.c
+++ b/
diffcore-pickaxe.c
@@
-1,12
+1,12
@@
/*
* Copyright (C) 2005 Junio C Hamano
*/
-#include <regex.h>
-
#include "cache.h"
#include "diff.h"
#include "diffcore.h"
+#include <regex.h>
+
static unsigned int contains(struct diff_filespec *one,
const char *needle, unsigned long len,
regex_t *regexp)