Skip to content

Commit 5a2282d

Browse files
author
Junio C Hamano
committed
GIT 1.1.0
2 parents e77f489 + 8fc11b5 commit 5a2282d

36 files changed

+47
-504
lines changed

Makefile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,6 @@ dist: git.spec git-tar-tree
496496
rpm: dist
497497
$(RPMBUILD) -ta $(GIT_TARNAME).tar.gz
498498

499-
deb: dist
500-
rm -rf $(GIT_TARNAME)
501-
$(TAR) zxf $(GIT_TARNAME).tar.gz
502-
dpkg-source -b $(GIT_TARNAME)
503-
cd $(GIT_TARNAME) && fakeroot debian/rules binary
504-
505499
### Cleaning rules
506500

507501
clean:
@@ -511,8 +505,6 @@ clean:
511505
rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo
512506
rm -rf $(GIT_TARNAME)
513507
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
514-
rm -f git-core_$(GIT_VERSION)-*.dsc
515-
rm -f git-*_$(GIT_VERSION)-*.deb
516508
$(MAKE) -C Documentation/ clean
517509
$(MAKE) -C templates clean
518510
$(MAKE) -C t/ clean

blob.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "blob.h"
21
#include "cache.h"
2+
#include "blob.h"
33
#include <stdlib.h>
44

55
const char *blob_type = "blob";

cache.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct cache_entry {
8181
unsigned int ce_size;
8282
unsigned char sha1[20];
8383
unsigned short ce_flags;
84-
char name[0];
84+
char name[FLEX_ARRAY]; /* more */
8585
};
8686

8787
#define CE_NAMEMASK (0x0fff)
@@ -259,7 +259,7 @@ extern int checkout_entry(struct cache_entry *ce, struct checkout *state);
259259
extern struct alternate_object_database {
260260
struct alternate_object_database *next;
261261
char *name;
262-
char base[0]; /* more */
262+
char base[FLEX_ARRAY]; /* more */
263263
} *alt_odb_list;
264264
extern void prepare_alt_odb(void);
265265

@@ -273,7 +273,8 @@ extern struct packed_git {
273273
unsigned int pack_use_cnt;
274274
int pack_local;
275275
unsigned char sha1[20];
276-
char pack_name[0]; /* something like ".git/objects/pack/xxxxx.pack" */
276+
/* something like ".git/objects/pack/xxxxx.pack" */
277+
char pack_name[FLEX_ARRAY]; /* more */
277278
} *packed_git;
278279

279280
struct pack_entry {
@@ -288,7 +289,7 @@ struct ref {
288289
unsigned char new_sha1[20];
289290
unsigned char force;
290291
struct ref *peer_ref; /* when renaming */
291-
char name[0];
292+
char name[FLEX_ARRAY]; /* more */
292293
};
293294

294295
extern int git_connect(int fd[2], char *url, const char *prog);

commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
#include "cache.h"
12
#include "tag.h"
23
#include "commit.h"
3-
#include "cache.h"
44

55
int save_commit_buffer = 1;
66

debian/.gitignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

debian/changelog

Lines changed: 0 additions & 242 deletions
This file was deleted.

debian/compat

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/control

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)