Skip to content

Commit

Permalink
GIT 0.99.9i aka 1.0rc2
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Nov 15, 2005
2 parents f7a2eb7 + d7bba81 commit 60d64db
Show file tree
Hide file tree
Showing 28 changed files with 266 additions and 238 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git-index-pack
git-init-db
git-local-fetch
git-log
git-lost+found
git-lost-found
git-ls-files
git-ls-remote
git-ls-tree
Expand Down Expand Up @@ -74,7 +74,6 @@ git-read-tree
git-rebase
git-receive-pack
git-relink
git-rename
git-repack
git-request-pull
git-reset
Expand Down
15 changes: 11 additions & 4 deletions Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ git-branch(1)

NAME
----
git-branch - Create a new branch.
git-branch - Create a new branch, or remove an old one.

SYNOPSIS
--------
'git-branch' [<branchname> [start-point]]
'git-branch' [-d | -D] [<branchname> [start-point]]

DESCRIPTION
-----------
Expand All @@ -19,11 +19,18 @@ created, otherwise it will be created at the current HEAD.

OPTIONS
-------
-d::
Delete a branch. The branch must be fully merged.

-D::
Delete a branch irrespective of its index status.

<branchname>::
The name of the branch to create.
The name of the branch to create or delete.

start-point::
Where to create the branch; defaults to HEAD.
Where to create the branch; defaults to HEAD. This
option has no meaning with -d and -D.

Author
------
Expand Down
10 changes: 5 additions & 5 deletions Documentation/git-checkout-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ Will copy all files listed from the index to the working directory

OPTIONS
-------
-u::
-u|--index::
update stat information for the checked out entries in
the index file.

-q::
-q|--quiet::
be quiet if files exist or are not in the index

-f::
-f|--force::
forces overwrite of existing files

-a::
-a|--all::
checks out all files in the index. Cannot be used
together with explicit filenames.

-n::
-n|--no-create::
Don't checkout new files, only refresh files already checked
out.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-commit-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-commit-tree - Creates a new commit object

SYNOPSIS
--------
'git-commit-tree' <tree> [-p <parent commit>]\ < changelog
'git-commit-tree' <tree> [-p <parent commit>]\* < changelog

DESCRIPTION
-----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
git-lost+found(1)
git-lost-found(1)
=================

NAME
----
git-lost+found - Recover lost refs that luckily have not yet been pruned.
git-lost-found - Recover lost refs that luckily have not yet been pruned.

SYNOPSIS
--------
'git-lost+found'
'git-lost-found'

DESCRIPTION
-----------
Expand All @@ -31,7 +31,7 @@ The ref to your tag is overwritten, but until you run 'git
prune', it is still there.

------------
$ git lost+found
$ git lost-found
[1ef2b196d909eed523d4f3c9bf54b78cdd6843c6] GIT 0.99.9c
...
------------
Expand Down
6 changes: 6 additions & 0 deletions Documentation/git-prune-packed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ compression applied, stored in a single file, with an associated index file.

Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc.

OPTIONS
-------
-n::
Don't actually remove any objects, only show those that would have been
removed.

Author
------
Written by Linus Torvalds <torvalds@osdl.org>
Expand Down
4 changes: 4 additions & 0 deletions Documentation/git-read-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ OPTIONS
-m::
Perform a merge, not just a read.

--reset::

Same as -m except that unmerged entries will be silently ignored.

-u::
After a successful merge, update the files in the work
tree with the result of the merge.
Expand Down
32 changes: 0 additions & 32 deletions Documentation/git-rename.txt

This file was deleted.

6 changes: 5 additions & 1 deletion Documentation/git-unpack-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ git-unpack-objects - Unpack objects from a packed archive.

SYNOPSIS
--------
'git-unpack-objects' [-q] <pack-file
'git-unpack-objects' [-n] [-q] <pack-file


DESCRIPTION
Expand All @@ -19,6 +19,10 @@ one-object" format in $GIT_OBJECT_DIRECTORY.

OPTIONS
-------
-n::
Only list the objects that would be unpacked, don't actually unpack
them.

-q::
The command usually shows percentage progress. This
flag suppresses it.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-update-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ OPTIONS
Directly insert the specified info into the index.

--index-info::
Read index info from stdin.
Read index information from stdin.

--chmod=(+|-)x::
Set the execute permissions on the updated files.
Expand Down
5 changes: 1 addition & 4 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,6 @@ gitlink:git-push[1]::
gitlink:git-rebase[1]::
Rebase local commits to new upstream head.

gitlink:git-rename[1]::
Rename files and directories.

gitlink:git-repack[1]::
Pack unpacked objects in a repository.

Expand Down Expand Up @@ -309,7 +306,7 @@ gitlink:git-convert-objects[1]::
gitlink:git-cvsimport[1]::
Salvage your data out of another SCM people love to hate.

gitlink:git-lost+found[1]::
gitlink:git-lost-found[1]::
Recover lost refs that luckily have not yet been pruned.

gitlink:git-merge-one-file[1]::
Expand Down
35 changes: 23 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@
# 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 = 0.99.9h
GIT_VERSION = 0.99.9i

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

CFLAGS = -g -O2 -Wall
LDFLAGS =
ALL_CFLAGS = $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)

prefix = $(HOME)
bindir = $(prefix)/bin
Expand Down Expand Up @@ -90,11 +92,11 @@ SCRIPT_SH = \
git-applymbox.sh git-applypatch.sh git-am.sh \
git-merge.sh git-merge-stupid.sh git-merge-octopus.sh \
git-merge-resolve.sh git-merge-ours.sh git-grep.sh \
git-lost+found.sh
git-lost-found.sh

SCRIPT_PERL = \
git-archimport.perl git-cvsimport.perl git-relink.perl \
git-rename.perl git-shortlog.perl git-fmt-merge-msg.perl \
git-shortlog.perl git-fmt-merge-msg.perl \
git-svnimport.perl git-mv.perl git-cvsexportcommit.perl

SCRIPT_PYTHON = \
Expand Down Expand Up @@ -187,9 +189,11 @@ ifeq ($(uname_S),Darwin)
NEEDS_SSL_WITH_CRYPTO = YesPlease
NEEDS_LIBICONV = YesPlease
## fink
ALL_CFLAGS += -I/sw/include -L/sw/lib
ALL_CFLAGS += -I/sw/include
ALL_LDFLAGS += -L/sw/lib
## darwinports
ALL_CFLAGS += -I/opt/local/include -L/opt/local/lib
ALL_CFLAGS += -I/opt/local/include
ALL_LDFLAGS += -L/opt/local/lib
endif
ifeq ($(uname_S),SunOS)
NEEDS_SOCKET = YesPlease
Expand All @@ -211,7 +215,13 @@ endif
ifeq ($(uname_S),OpenBSD)
NO_STRCASESTR = YesPlease
NEEDS_LIBICONV = YesPlease
ALL_CFLAGS += -I/usr/local/include -L/usr/local/lib
ALL_CFLAGS += -I/usr/local/include
ALL_LDFLAGS += -L/usr/local/lib
endif
ifeq ($(uname_S),NetBSD)
NEEDS_LIBICONV = YesPlease
ALL_CFLAGS += -I/usr/pkg/include
ALL_LDFLAGS += -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
endif
ifneq (,$(findstring arm,$(uname_M)))
ARM_SHA1 = YesPlease
Expand All @@ -221,7 +231,7 @@ endif

ifndef NO_CURL
ifdef CURLDIR
# This is still problematic -- gcc does not want -R.
# This is still problematic -- gcc does not always want -R.
ALL_CFLAGS += -I$(CURLDIR)/include
CURL_LIBCURL = -L$(CURLDIR)/lib -R$(CURLDIR)/lib -lcurl
else
Expand Down Expand Up @@ -369,12 +379,13 @@ git-cherry-pick: git-revert
$(CC) -o $*.o -c $(ALL_CFLAGS) $<

git-%$X: %.o $(LIB_FILE)
$(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)

git-mailinfo$X : SIMPLE_LIB += $(LIB_4_ICONV)
$(SIMPLE_PROGRAMS) : $(LIB_FILE)
$(SIMPLE_PROGRAMS) : git-%$X : %.o
$(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIB_FILE) $(SIMPLE_LIB)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
$(LIB_FILE) $(SIMPLE_LIB)

git-http-fetch$X: fetch.o
git-local-fetch$X: fetch.o
Expand Down Expand Up @@ -408,10 +419,10 @@ test: all
$(MAKE) -C t/ all

test-date$X: test-date.c date.o ctype.o
$(CC) $(ALL_CFLAGS) -o $@ test-date.c date.o ctype.o
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) test-date.c date.o ctype.o

test-delta$X: test-delta.c diff-delta.o patch-delta.o
$(CC) $(ALL_CFLAGS) -o $@ $^
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $^

check:
for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i; done
Expand Down
7 changes: 4 additions & 3 deletions apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static int gitdiff_index(const char *line, struct patch *patch)
int len;

ptr = strchr(line, '.');
if (!ptr || ptr[1] != '.' || 40 <= ptr - line)
if (!ptr || ptr[1] != '.' || 40 < ptr - line)
return 0;
len = ptr - line;
memcpy(patch->old_sha1_prefix, line, len);
Expand All @@ -384,7 +384,7 @@ static int gitdiff_index(const char *line, struct patch *patch)
ptr = eol;
len = ptr - line;

if (40 <= len)
if (40 < len)
return 0;
memcpy(patch->new_sha1_prefix, line, len);
patch->new_sha1_prefix[len] = 0;
Expand Down Expand Up @@ -895,7 +895,8 @@ static int parse_chunk(char *buffer, unsigned long size, struct patch *patch)
static const char binhdr[] = "Binary files ";

if (sizeof(binhdr) - 1 < size - offset - hdrsize &&
!memcmp(binhdr, buffer + hdrsize, sizeof(binhdr)-1))
!memcmp(binhdr, buffer + hdrsize + offset,
sizeof(binhdr)-1))
patch->is_binary = 1;

if (patch->is_binary && !apply && !check)
Expand Down
5 changes: 3 additions & 2 deletions commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ int count_parents(struct commit * commit)
void sort_in_topological_order(struct commit_list ** list)
{
struct commit_list * next = *list;
struct commit_list * work = NULL;
struct commit_list * work = NULL, **insert;
struct commit_list ** pptr = list;
struct sort_node * nodes;
struct sort_node * next_nodes;
Expand Down Expand Up @@ -580,11 +580,12 @@ void sort_in_topological_order(struct commit_list ** list)
* the tips serve as a starting set for the work queue.
*/
next=*list;
insert = &work;
while (next) {
struct sort_node * node = (struct sort_node *)next->item->object.util;

if (node->indegree == 0) {
commit_list_insert(next->item, &work);
insert = &commit_list_insert(next->item, insert)->next;
}
next=next->next;
}
Expand Down
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
git-core (0.99.9i-0) unstable; urgency=low

* GIT 0.99.9i aka 1.0rc2

-- Junio C Hamano <junkio@cox.net> Mon, 14 Nov 2005 18:38:27 -0800

git-core (0.99.9h-0) unstable; urgency=low

* GIT 0.99.9h
Expand Down Expand Up @@ -46,6 +52,12 @@ git-core (0.99.9a-0) unstable; urgency=low

-- Junio C Hamano <junkio@cox.net> Sun, 30 Oct 2005 15:03:32 -0800

git-core (0.99.9.GIT-2) unstable; urgency=low

* Build Dependency did not include libexpat-dev.

-- Junio C Hamano <junkio@cox.net> Sun, 13 Nov 2005 01:55:34 -0800

git-core (0.99.9.GIT-1) unstable; urgency=low

* Do not scatter txt and html documentation into feature
Expand Down
Loading

0 comments on commit 60d64db

Please sign in to comment.