浏览代码

Removes --no-merges from ref resolve

main
Eric Amodio 7 年前
父节点
当前提交
a79208de67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/git/git.ts

+ 1
- 1
src/git/git.ts 查看文件

@ -415,7 +415,7 @@ export class Git {
static async log_resolve(repoPath: string, fileName: string, ref: string) {
try {
const data = await gitCommandCore({ cwd: repoPath }, `log`, `--full-history`, `-M`, `-n1`, `--no-merges`, `--format=%H`, ref, `--`, fileName);
const data = await gitCommandCore({ cwd: repoPath }, `log`, `--full-history`, `-M`, `-n1`, `--format=%H`, ref, `--`, fileName);
return data.trim();
}
catch {

正在加载...
取消
保存