projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove insane overlapping bit ranges from epoch.c
[git.git]
/
receive-pack.c
diff --git
a/receive-pack.c
b/receive-pack.c
index
53d00a5
..
dfa7cd1
100644
(file)
--- a/
receive-pack.c
+++ b/
receive-pack.c
@@
-7,7
+7,7
@@
static const char receive_pack_usage[] = "git-receive-pack <git-dir>";
static const char *unpacker = "git-unpack-objects";
static const char *unpacker = "git-unpack-objects";
-static int show_ref(const char *path, unsigned char *sha1)
+static int show_ref(const char *path,
const
unsigned char *sha1)
{
packet_write(1, "%s %s\n", sha1_to_hex(sha1), path);
return 0;
{
packet_write(1, "%s %s\n", sha1_to_hex(sha1), path);
return 0;
@@
-25,7
+25,7
@@
struct command {
char ref_name[0];
};
char ref_name[0];
};
-struct command *commands = NULL;
+st
atic st
ruct command *commands = NULL;
static int is_all_zeroes(const char *hex)
{
static int is_all_zeroes(const char *hex)
{