Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
git
提交
3536ae33
G
git
项目概览
李少辉-开发者
/
git
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
git
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3536ae33
编写于
5月 03, 2009
作者:
J
Junio C Hamano
浏览文件
操作
浏览文件
下载
差异文件
Sync with GIT 1.6.2.5
上级
503f4640
a48f5d71
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
58 addition
and
1 deletion
+58
-1
Documentation/RelNotes-1.6.1.4.txt
Documentation/RelNotes-1.6.1.4.txt
+25
-0
Documentation/RelNotes-1.6.2.5.txt
Documentation/RelNotes-1.6.2.5.txt
+21
-0
builtin-fetch-pack.c
builtin-fetch-pack.c
+12
-1
未找到文件。
Documentation/RelNotes-1.6.1.4.txt
浏览文件 @
3536ae33
...
...
@@ -4,15 +4,40 @@ GIT v1.6.1.4 Release Notes
Fixes since v1.6.1.3
--------------------
* .gitignore learned to handle backslash as a quoting mechanism for
comment introduction character "#".
This fix was first merged to 1.6.2.1.
* "git fast-export" produced wrong output with some parents missing from
commits, when the history is clock-skewed.
* "git fast-import" sometimes failed to read back objects it just wrote
out and aborted, because it failed to flush stale cached data.
* "git-ls-tree" and "git-diff-tree" used a pathspec correctly when
deciding to descend into a subdirectory but they did not match the
individual paths correctly. This caused pathspecs "abc/d ab" to match
"abc/0" ("abc/d" made them decide to descend into the directory "abc/",
and then "ab" incorrectly matched "abc/0" when it shouldn't).
This fix was first merged to 1.6.2.3.
* import-zips script (in contrib) did not compute the common directory
prefix correctly.
This fix was first merged to 1.6.2.2.
* "git init" segfaulted when given an overlong template location via
the --template= option.
This fix was first merged to 1.6.2.4.
* "git repack" did not error out when necessary object was missing in the
repository.
* git-repack (invoked from git-gc) did not work as nicely as it should in
a repository that borrows objects from neighbours via alternates
mechanism especially when some packs are marked with the ".keep" flag
to prevent them from being repacked.
This fix was first merged to 1.6.2.3.
Also includes minor documentation fixes and updates.
--
...
...
Documentation/RelNotes-1.6.2.5.txt
0 → 100644
浏览文件 @
3536ae33
GIT v1.6.2.5 Release Notes
==========================
Fixes since v1.6.2.4
--------------------
* "git apply" mishandled if you fed a git generated patch that renames
file A to B and file B to A at the same time.
* "git diff -c -p" (and "diff --cc") did not expect to see submodule
differences and instead refused to work.
* "git grep -e '('" segfaulted, instead of diagnosing a mismatched
parentheses error.
* "git fetch" generated packs with offset-delta encoding when both ends of
the connection are capable of producing one; this cannot be read by
ancient git and the user should be able to disable this by setting
repack.usedeltabaseoffset configuration to false.
builtin-fetch-pack.c
浏览文件 @
3536ae33
...
...
@@ -13,6 +13,7 @@
static
int
transfer_unpack_limit
=
-
1
;
static
int
fetch_unpack_limit
=
-
1
;
static
int
unpack_limit
=
100
;
static
int
prefer_ofs_delta
=
1
;
static
struct
fetch_pack_args
args
=
{
/* .uploadpack = */
"git-upload-pack"
,
};
...
...
@@ -200,7 +201,7 @@ static int find_common(int fd[2], unsigned char *result_sha1,
(
args
.
use_thin_pack
?
" thin-pack"
:
""
),
(
args
.
no_progress
?
" no-progress"
:
""
),
(
args
.
include_tag
?
" include-tag"
:
""
),
" ofs-delta"
);
(
prefer_ofs_delta
?
" ofs-delta"
:
""
)
);
else
packet_write
(
fd
[
1
],
"want %s
\n
"
,
sha1_to_hex
(
remote
));
fetching
++
;
...
...
@@ -596,6 +597,11 @@ static struct ref *do_fetch_pack(int fd[2],
fprintf
(
stderr
,
"Server supports side-band
\n
"
);
use_sideband
=
1
;
}
if
(
server_supports
(
"ofs-delta"
))
{
if
(
args
.
verbose
)
fprintf
(
stderr
,
"Server supports ofs-delta
\n
"
);
}
else
prefer_ofs_delta
=
0
;
if
(
everything_local
(
&
ref
,
nr_match
,
match
))
{
packet_flush
(
fd
[
1
]);
goto
all_done
;
...
...
@@ -648,6 +654,11 @@ static int fetch_pack_config(const char *var, const char *value, void *cb)
return
0
;
}
if
(
strcmp
(
var
,
"repack.usedeltabaseoffset"
)
==
0
)
{
prefer_ofs_delta
=
git_config_bool
(
var
,
value
);
return
0
;
}
return
git_default_config
(
var
,
value
,
cb
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录