1 Star 0 Fork 262

旧光影里的少年/ffmpeg

forked from Gitee 极速下载/ffmpeg 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
libav-merge-next-commit 637 Bytes
一键复制 编辑 原始数据 按行查看 历史
Clément Bœsch 提交于 2016-09-26 01:26 +08:00 . doc: move out merge script to tools
#!/bin/sh
if [ "$1" != "merge" -a "$1" != "noop" ]; then
printf "Usage: $0 <merge|noop [REF_HASH]>\n"
exit 0
fi
[ "$1" = "noop" ] && merge_opts="-s ours"
nextrev=$(git rev-list libav/master --not master --no-merges | tail -n1)
if [ -z "$nextrev" ]; then
printf "Nothing to merge..\n"
exit 0
fi
printf "Merging $(git log -n 1 --oneline $nextrev)\n"
git merge --no-commit $merge_opts --no-ff --log $nextrev
if [ "$1" = "noop" -a -n "$2" ]; then
printf "\nThis commit is a noop, see $2\n" >> .git/MERGE_MSG
fi
printf "\nMerged-by: $(git config --get user.name) <$(git config --get user.email)>\n" >> .git/MERGE_MSG
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/yanjun_coder/ffmpeg.git
git@gitee.com:yanjun_coder/ffmpeg.git
yanjun_coder
ffmpeg
ffmpeg
master

搜索帮助