You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* remove overzealous shallow check from core
* disable tests for now
* use TRAVIS_COMMIT_RANGE
* always fetch both base and head remotes
* lint triggering commit
'Original issue: https://git.io/vyKMq\n Refer to https://git.io/vyKMv for details.'
14
-
].join('\n');
15
-
16
9
// Get commit messages
17
10
// Object => Promise<Array<String>>
18
11
asyncfunctiongetCommitMessages(settings){
@@ -22,10 +15,6 @@ async function getCommitMessages(settings) {
22
15
returngetEditCommit(cwd,edit);
23
16
}
24
17
25
-
if(awaitisShallow(cwd)){
26
-
thrownewError(SHALLOW_MESSAGE);
27
-
}
28
-
29
18
returngetHistoryCommits({from, to},{cwd});
30
19
}
31
20
@@ -43,19 +32,6 @@ function getHistoryCommits(options, opts = {}) {
43
32
});
44
33
}
45
34
46
-
// Check if the current repository is shallow
47
-
// (cwd: string) => Promise<Boolean>
48
-
asyncfunctionisShallow(cwd){
49
-
consttop=awaittoplevel(cwd);
50
-
51
-
if(typeoftop!=='string'){
52
-
thrownewTypeError(`Could not find git root from ${cwd}`);
0 commit comments