wget http://www.tecgraf.puc-rio.br/~celes/tolua/tolua-5.1.4.tar.gz
cd tolua
git-import-orig -u 5.1.4 ../tolua-5.1.4.tar.gz
手动解决遇到的冲突(如src/bin/Makefile)并提交更新:
1
git commit
这时,运行
1
git log --format=%d:%s
输出:
12345
(HEAD, master):Merge commit 'upstream/5.1.4'
(upstream/5.1.4, upstream):Imported Upstream version 5.1.4
(debian/5.1.3-2):Fix relocation R_X86_64_32 against '.rodata' can not be used when making a shared object
(debian/5.1.3-1):Imported Debian patch 5.1.3-1
(upstream/5.1.3):Imported Upstream version 5.1.3