mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
pkggen: collect garbage
This commit is contained in:
parent
fafb57a5d5
commit
9dd8518761
1 changed files with 8 additions and 2 deletions
|
@ -130,8 +130,14 @@ int main(int argc, char **argv) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* because we want to keep it out of the snapshots anyway */
|
puts(">> Doing a git garbage collection");
|
||||||
unlink("CHANGESTODO");
|
if (system("git gc")) {
|
||||||
|
puts(">> Error during git gc. Exiting.");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* we used to do this with cvs.. for git we could do .gitignore
|
||||||
|
unlink("CHANGESTODO"); */
|
||||||
/* system("rm .#CHANGESTODO*") */
|
/* system("rm .#CHANGESTODO*") */
|
||||||
|
|
||||||
puts(">> Now is your chance to make manual changes. Suspend now.");
|
puts(">> Now is your chance to make manual changes. Suspend now.");
|
||||||
|
|
Loading…
Reference in a new issue