Skip to content

Commit

Permalink
GIT 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Junio C Hamano committed Jan 8, 2006
2 parents 92e802c + 6f2eacf commit 8fc11b5
Show file tree
Hide file tree
Showing 35 changed files with 47 additions and 492 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ all:
# Define USE_STDEV below if you want git to care about the underlying device
# change being considered an inode change from the update-cache perspective.

GIT_VERSION = 1.0.7
GIT_VERSION = 1.0.8

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

Expand Down Expand Up @@ -489,12 +489,6 @@ dist: git.spec git-tar-tree
rpm: dist
$(RPMBUILD) -ta $(GIT_TARNAME).tar.gz

deb: dist
rm -rf $(GIT_TARNAME)
$(TAR) zxf $(GIT_TARNAME).tar.gz
dpkg-source -b $(GIT_TARNAME)
cd $(GIT_TARNAME) && fakeroot debian/rules binary

### Cleaning rules

clean:
Expand All @@ -504,8 +498,6 @@ clean:
rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo
rm -rf $(GIT_TARNAME)
rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
rm -f git-core_$(GIT_VERSION)-*.dsc
rm -f git-*_$(GIT_VERSION)-*.deb
$(MAKE) -C Documentation/ clean
$(MAKE) -C templates clean
$(MAKE) -C t/ clean
Expand Down
2 changes: 1 addition & 1 deletion blob.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "blob.h"
#include "cache.h"
#include "blob.h"
#include <stdlib.h>

const char *blob_type = "blob";
Expand Down
9 changes: 5 additions & 4 deletions cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct cache_entry {
unsigned int ce_size;
unsigned char sha1[20];
unsigned short ce_flags;
char name[0];
char name[FLEX_ARRAY]; /* more */
};

#define CE_NAMEMASK (0x0fff)
Expand Down Expand Up @@ -257,7 +257,7 @@ extern int checkout_entry(struct cache_entry *ce, struct checkout *state);
extern struct alternate_object_database {
struct alternate_object_database *next;
char *name;
char base[0]; /* more */
char base[FLEX_ARRAY]; /* more */
} *alt_odb_list;
extern void prepare_alt_odb(void);

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

struct pack_entry {
Expand All @@ -286,7 +287,7 @@ struct ref {
unsigned char new_sha1[20];
unsigned char force;
struct ref *peer_ref; /* when renaming */
char name[0];
char name[FLEX_ARRAY]; /* more */
};

extern int git_connect(int fd[2], char *url, const char *prog);
Expand Down
2 changes: 1 addition & 1 deletion commit.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "cache.h"
#include "tag.h"
#include "commit.h"
#include "cache.h"

int save_commit_buffer = 1;

Expand Down
6 changes: 0 additions & 6 deletions debian/.gitignore

This file was deleted.

230 changes: 0 additions & 230 deletions debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

63 changes: 0 additions & 63 deletions debian/control

This file was deleted.

Loading

0 comments on commit 8fc11b5

Please sign in to comment.