Skip to content

Commit 8fc11b5

Browse files
author
Junio C Hamano
committed
GIT 1.0.8
2 parents 92e802c + 6f2eacf commit 8fc11b5

35 files changed

+47
-492
lines changed

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ all:
5555
# Define USE_STDEV below if you want git to care about the underlying device
5656
# change being considered an inode change from the update-cache perspective.
5757

58-
GIT_VERSION = 1.0.7
58+
GIT_VERSION = 1.0.8
5959

6060
# CFLAGS and LDFLAGS are for the users to override from the command line.
6161

@@ -489,12 +489,6 @@ dist: git.spec git-tar-tree
489489
rpm: dist
490490
$(RPMBUILD) -ta $(GIT_TARNAME).tar.gz
491491

492-
deb: dist
493-
rm -rf $(GIT_TARNAME)
494-
$(TAR) zxf $(GIT_TARNAME).tar.gz
495-
dpkg-source -b $(GIT_TARNAME)
496-
cd $(GIT_TARNAME) && fakeroot debian/rules binary
497-
498492
### Cleaning rules
499493

500494
clean:
@@ -504,8 +498,6 @@ clean:
504498
rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo
505499
rm -rf $(GIT_TARNAME)
506500
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
507-
rm -f git-core_$(GIT_VERSION)-*.dsc
508-
rm -f git-*_$(GIT_VERSION)-*.deb
509501
$(MAKE) -C Documentation/ clean
510502
$(MAKE) -C templates clean
511503
$(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)
@@ -257,7 +257,7 @@ extern int checkout_entry(struct cache_entry *ce, struct checkout *state);
257257
extern struct alternate_object_database {
258258
struct alternate_object_database *next;
259259
char *name;
260-
char base[0]; /* more */
260+
char base[FLEX_ARRAY]; /* more */
261261
} *alt_odb_list;
262262
extern void prepare_alt_odb(void);
263263

@@ -271,7 +271,8 @@ extern struct packed_git {
271271
unsigned int pack_use_cnt;
272272
int pack_local;
273273
unsigned char sha1[20];
274-
char pack_name[0]; /* something like ".git/objects/pack/xxxxx.pack" */
274+
/* something like ".git/objects/pack/xxxxx.pack" */
275+
char pack_name[FLEX_ARRAY]; /* more */
275276
} *packed_git;
276277

277278
struct pack_entry {
@@ -286,7 +287,7 @@ struct ref {
286287
unsigned char new_sha1[20];
287288
unsigned char force;
288289
struct ref *peer_ref; /* when renaming */
289-
char name[0];
290+
char name[FLEX_ARRAY]; /* more */
290291
};
291292

292293
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 & 230 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)