Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research faster git add filename approach #45

Open
KasperZutterman opened this issue Oct 29, 2021 · 0 comments
Open

Research faster git add filename approach #45

KasperZutterman opened this issue Oct 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@KasperZutterman
Copy link
Collaborator

Research if there is a faster way to add the files with git add.
Context: adding generated files takes about as long as fetching data (10 min data fetching -> 10 min git add)

LDES-Action/src/main.ts

Lines 46 to 56 in eb15441

// Calculate the differences with the previous result
core.startGroup('Calculating diffstat');
const editedFiles = [];
for (const filename of editedFilenames) {
core.debug(`git adding ${filename}…`);
await exec('git', ['add', filename]);
editedFiles.push({
name: filename,
});
}
core.endGroup();

@KasperZutterman KasperZutterman added the enhancement New feature or request label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant