mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Clone full repo history, except when cloning a stack (for a new project)
This commit is contained in:
2 files changed
+4
-8
No files matched your search
@@ -15,7 +15,7 @@ export class GitLogCommand implements GitSubcommand {
|
||||
try {
|
||||
await fs.stat(`${cwd}/.git`);
|
||||
} catch {
|
||||
return createErrorError('fatal: not a git repository (or any of the parent directories): .git');
|
||||
return createErrorResult('fatal: not a git repository (or any of the parent directories): .git');
|
||||
}
|
||||
|
||||
const { options, limit } = this.parseArgs(args);
|
||||
@@ -142,7 +142,3 @@ export class GitLogCommand implements GitSubcommand {
|
||||
}
|
||||
}
|
||||
|
||||
// Fix the typo in the error function
|
||||
function createErrorError(message: string): ShellCommandResult {
|
||||
return createErrorResult(message);
|
||||
}
|
||||
Reference in new issue
Block a user