projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] HTTP partial transfer support for object, pack, and index transfers
[git.git]
/
ls-files.c
diff --git
a/ls-files.c
b/ls-files.c
index
e3f43ec
..
956be09
100644
(file)
--- a/
ls-files.c
+++ b/
ls-files.c
@@
-31,7
+31,7
@@
static const char *tag_other = "";
static const char *tag_killed = "";
static const char *tag_modified = "";
static const char *tag_killed = "";
static const char *tag_modified = "";
-static char *exclude_per_dir = NULL;
+static c
onst c
har *exclude_per_dir = NULL;
/* We maintain three exclude pattern lists:
* EXC_CMDL lists patterns explicitly given on the command line.
/* We maintain three exclude pattern lists:
* EXC_CMDL lists patterns explicitly given on the command line.
@@
-532,7
+532,7
@@
static const char ls_files_usage[] =
"[ --ignored ] [--exclude=<pattern>] [--exclude-from=<file>] "
"[ --exclude-per-directory=<filename> ]";
"[ --ignored ] [--exclude=<pattern>] [--exclude-from=<file>] "
"[ --exclude-per-directory=<filename> ]";
-int main(int argc, char **argv)
+int main(int argc, c
onst c
har **argv)
{
int i;
int exc_given = 0;
{
int i;
int exc_given = 0;
@@
-542,7
+542,7
@@
int main(int argc, char **argv)
prefix_offset = strlen(prefix);
for (i = 1; i < argc; i++) {
prefix_offset = strlen(prefix);
for (i = 1; i < argc; i++) {
- char *arg = argv[i];
+ c
onst c
har *arg = argv[i];
if (!strcmp(arg, "-z")) {
line_terminator = 0;
if (!strcmp(arg, "-z")) {
line_terminator = 0;