Welcome to CRUX bug tracking.

FS#1830 - git ports driver: garbage collection

Attached to Project: CRUX
Opened by Steffen Nurpmeso (steffen) - Friday, 06 November 2020, 15:45 GMT
Task Type Bug Report
Category ports
Status New
Assigned To CRUX Developers (crux)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I need the following patch for my /etc/ports/drivers/git.
Could this be considered, it does not hurt and gives plenty of fun :o)

--- a/kent.local/media/btrfs-master/crux-3.6/kent/root/etc/ports/drivers/git
+++ b/kent.local/media/btrfs-master/crux-3.6/kent/root/etc/ports/drivers/git
@@ -39,12 +39,9 @@ if [ $? -lt 1 ]; then
git diff --pretty=format: --name-status "$BRANCH" origin/"$BRANCH" | sed "s/M\t/ Edit /g; s/A\t/ Checkout /g; s/D\t/ Delete /g" | sort
git clean -q -f
git reset -q --hard origin/"$BRANCH"
- gc=
git clone -q -b "$BRANCH" "$URL" "$REPOSITORY"
ls -1 $REPOSITORY | sed "s/^/ Checkout /"
- gc=--aggressive
-git gc --quiet $gc --prune=all

echo "Finished successfully"

This task depends upon