Skip to content

Commit 8d712aa

Browse files
author
Junio C Hamano
committed
GIT 1.0.0b
Signed-off-by: Junio C Hamano <junkio@cox.net>
2 parents e4e79a2 + 8ac4838 commit 8d712aa

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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.0a
58+
GIT_VERSION = 1.0.0b
5959

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

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
git-core (1.0.0b-0) unstable; urgency=low
2+
3+
* GIT 1.0.0b to include two more fixes.
4+
5+
-- Junio C Hamano <junkio@cox.net> Wed, 21 Dec 2005 13:50:21 -0800
6+
17
git-core (1.0.0a-0) unstable; urgency=low
28

39
* GIT 1.0.0a to include the following fixes:

quote.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ static int quote_c_style_counted(const char *name, int namelen,
126126

127127
if (!no_dq)
128128
EMIT('"');
129-
for (sp = name; (ch = *sp++) && (sp - name) <= namelen; ) {
130-
129+
for (sp = name; sp < name + namelen; sp++) {
130+
ch = *sp;
131+
if (!ch)
132+
break;
131133
if ((ch < ' ') || (ch == '"') || (ch == '\\') ||
132134
(ch == 0177)) {
133135
needquote = 1;

server-info.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ static int read_pack_info_file(const char *infofile)
9999
while (fgets(line, sizeof(line), fp)) {
100100
int len = strlen(line);
101101
if (line[len-1] == '\n')
102-
line[len-1] = 0;
102+
line[--len] = 0;
103+
104+
if (!len)
105+
continue;
103106

104107
switch (line[0]) {
105108
case 'P': /* P name */

0 commit comments

Comments
 (0)