
28 Dec
2020
28 Dec
'20
10:16 a.m.
iadd => add. On Sat, Dec 26, 2020 at 07:05:23PM +0800, Hu Xuejiao wrote:
[why] the code downloaded from upstream_repo occupies too much memory, the repository version needs to specify a version
Signed-off-by: Hu XueJiao <1034502035@qq.com> --- sparrow/3-code/git | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/sparrow/3-code/git b/sparrow/3-code/git index 2159ddc..e2b3cbf 100755 --- a/sparrow/3-code/git +++ b/sparrow/3-code/git @@ -29,4 +29,7 @@ cd /c || exit
[ -d "upstream-repos/.git" ] || { git clone https://gitee.com/wu_fengguang/upstream-repos.git + + cd /c/upstream-repos || exit + [ -n "$upstream_commitid" ] && git reset --hard "$upstream_commitid"
commitid => commit_id Thanks, Xueliang
} -- 2.23.0