Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Okstad <pokstad@gitlab.com>2019-07-08 21:50:02 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-07-08 21:50:02 +0300
commit095fe034004710c43a576dd9d76bb440657d5084 (patch)
treebdde4c14ce9a9644af3b3bdfa6727720a266f515
parent169e4fadd697d3b93d244807bb0d7e12ff0c861d (diff)
Make git work even harder for us
Generally, when we want to "clean" (i.e. remove artifacts from) the repo, we only want to remove artifacts that have been explicitly listed in the .gitignore files. This modification generalizes this pattern so that we can focus on maintaining .gitignore files across the repo, rather than have to remember to also updating this makefile.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b9fadf3a0..aceba5f78 100644
--- a/Makefile
+++ b/Makefile
@@ -108,4 +108,4 @@ _build/makegen: _support/makegen.go $(BUILD_DIR)/go.mod
cd $(BUILD_DIR) && go build -o $(CURDIR)/$@ $(SOURCE_DIR)/_support/makegen.go
clean:
- rm -rf $(BUILD_DIR) .ruby-bundle $(TEST_REPO_STORAGE_PATH)
+ git clean -fdX