-
Notifications
You must be signed in to change notification settings - Fork 20
Implement reference pruning on push. #40
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ref: refs/heads/main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[core] | ||
repositoryformatversion = 0 | ||
filemode = true | ||
bare = true |
Binary file added
BIN
+527 Bytes
...ush/push_test/action-cache-modified/git/objects/26/936381e619a01122ea33993e3cebc474496805
Binary file not shown.
Binary file added
BIN
+66 Bytes
...ush/push_test/action-cache-modified/git/objects/28/509716746a9e77e3f752e9df740cb443bf9960
Binary file not shown.
Binary file added
BIN
+15 Bytes
...ush/push_test/action-cache-modified/git/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
Binary file not shown.
Binary file added
BIN
+61 Bytes
...ush/push_test/action-cache-modified/git/objects/61/8dc8ffee7af67e4e2dfdbe416c53cca6099fab
Binary file not shown.
Binary file added
BIN
+45 Bytes
...ush/push_test/action-cache-modified/git/objects/80/8d4d2d6b7aa39089b99ca0d89f1fc6a2bc63ec
Binary file not shown.
Binary file added
BIN
+45 Bytes
...ush/push_test/action-cache-modified/git/objects/86/e83156c07aea03c86a7cd7c5f6b0ee1453c2d7
Binary file not shown.
Binary file added
BIN
+39 Bytes
...ush/push_test/action-cache-modified/git/objects/8e/38374296a8ca208f5e526da24c5b09f3f48624
Binary file not shown.
Binary file added
BIN
+560 Bytes
...ush/push_test/action-cache-modified/git/objects/b9/f01aa2c50f49898d4c7845a66be8824499fe9d
Binary file not shown.
Binary file added
BIN
+564 Bytes
...ush/push_test/action-cache-modified/git/objects/bd/82b85707bc13904e3526517677039d4da4a9bb
Binary file not shown.
Binary file added
BIN
+58 Bytes
...ush/push_test/action-cache-modified/git/objects/cd/0f803f72414d81157588de0cb622f47f4bb9bc
Binary file not shown.
Binary file added
BIN
+45 Bytes
...ush/push_test/action-cache-modified/git/objects/d1/231c269d15582e06ded28babdb8c224ba7e6ed
Binary file not shown.
Binary file added
BIN
+595 Bytes
...ush/push_test/action-cache-modified/git/objects/e5/29a54fad10a936308b2220e05f7f00757f8e7c
Binary file not shown.
Binary file added
BIN
+57 Bytes
...ush/push_test/action-cache-modified/git/objects/e5/f2bcf5a8815c924448ff3a54455983df118ee4
Binary file not shown.
Binary file added
BIN
+58 Bytes
...ush/push_test/action-cache-modified/git/objects/e7/014e2af66d5b702946763455de2dcf9eb93c4f
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
internal/push/push_test/action-cache-modified/git/packed-refs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# pack-refs with: peeled fully-peeled sorted | ||
26936381e619a01122ea33993e3cebc474496805 refs/heads/a-ref-that-will-need-pruning/because-it-now-has-this-extra-bit | ||
b9f01aa2c50f49898d4c7845a66be8824499fe9d refs/heads/main | ||
26936381e619a01122ea33993e3cebc474496805 refs/heads/v1 | ||
e529a54fad10a936308b2220e05f7f00757f8e7c refs/heads/v3 | ||
bd82b85707bc13904e3526517677039d4da4a9bb refs/heads/very-ignored-branch | ||
bd82b85707bc13904e3526517677039d4da4a9bb refs/tags/an-ignored-tag-too | ||
26936381e619a01122ea33993e3cebc474496805 refs/tags/codeql-bundle-20200101 | ||
26936381e619a01122ea33993e3cebc474496805 refs/tags/codeql-bundle-20200630 | ||
26936381e619a01122ea33993e3cebc474496805 refs/tags/v2 |
Empty file.
1 change: 1 addition & 0 deletions
1
...al/push/push_test/action-cache-modified/releases/codeql-bundle-20200101/assets/bundle.bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This isn't really a CodeQL bundle either! |
4 changes: 4 additions & 0 deletions
4
internal/push/push_test/action-cache-modified/releases/codeql-bundle-20200101/metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tag_name": "codeql-bundle-20200101", | ||
"target_commitish": "main" | ||
} |
1 change: 1 addition & 0 deletions
1
...al/push/push_test/action-cache-modified/releases/codeql-bundle-20200630/assets/bundle.bin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This isn't really a CodeQL bundle! |
4 changes: 4 additions & 0 deletions
4
internal/push/push_test/action-cache-modified/releases/codeql-bundle-20200630/metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"tag_name": "codeql-bundle-20200630", | ||
"target_commitish": "main" | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to remove
Force: true
here due to go-git/go-git#158, but it shouldn't matter anyway because the refspecs we are using are already forces.