{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":92347511,"defaultBranch":"master","name":"git-autofixup","ownerLogin":"torbiak","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-05-25T00:15:39.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/109347?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1704505802.0","currentOid":""},"activityList":{"items":[{"before":"d2895932847fe97bc59407e6f6ad862caf358f40","after":"d759b89e9cd09ec8a5e0ffe0d9ad59a798fedc66","ref":"refs/heads/master","pushedAt":"2024-01-07T08:32:13.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Check that tests use strict and warnings\n\nt/repo.pl wasn't using strict/warnings, causing me to miss some issues\nwith cleanup.","shortMessageHtmlLink":"Check that tests use strict and warnings"}},{"before":"7c625f1f6b50dcb5b6cdfa7603667e5fc4741889","after":"d2895932847fe97bc59407e6f6ad862caf358f40","ref":"refs/heads/master","pushedAt":"2024-01-06T01:50:17.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004006","shortMessageHtmlLink":"Version 0.004006"}},{"before":"8036e734f60abf5dc7a3482b5cdc400a3c54a843","after":"7c625f1f6b50dcb5b6cdfa7603667e5fc4741889","ref":"refs/heads/master","pushedAt":"2023-10-24T20:51:25.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004005","shortMessageHtmlLink":"Version 0.004005"}},{"before":"a7cc47fcd490841e8c341eb6403856eaf0af4b9d","after":"8036e734f60abf5dc7a3482b5cdc400a3c54a843","ref":"refs/heads/master","pushedAt":"2023-10-20T21:31:41.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004004","shortMessageHtmlLink":"Version 0.004004"}},{"before":"a37f117207826c1da2861b74158435020d0a8230","after":"a7cc47fcd490841e8c341eb6403856eaf0af4b9d","ref":"refs/heads/master","pushedAt":"2023-10-17T21:38:17.000Z","pushType":"push","commitsCount":13,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004002","shortMessageHtmlLink":"Version 0.004002"}},{"before":"cad6102581b0a2228a1b3f3f9c871f78cdbf8c4c","after":"754cd34f85133025b5fcb609578020fd971c118f","ref":"refs/heads/win","pushedAt":"2023-10-17T20:33:57.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Add function to help test Git for Windows on msys","shortMessageHtmlLink":"Add function to help test Git for Windows on msys"}},{"before":"50ab875d65f40b16c48199921eec038cfccb9f51","after":"cad6102581b0a2228a1b3f3f9c871f78cdbf8c4c","ref":"refs/heads/win","pushedAt":"2023-10-14T00:24:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Skip testing backslashes in filenames under msys\n\nAlso, tell skip() how many tests are being skipped.","shortMessageHtmlLink":"Skip testing backslashes in filenames under msys"}},{"before":"37f0f4ae54b51432e4d3ad242e5b01553d6b59ad","after":"50ab875d65f40b16c48199921eec038cfccb9f51","ref":"refs/heads/win","pushedAt":"2023-10-14T00:02:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Print git info on test failure, for a particular test\n\nFor one CPAN Tester[0], the 'fork-point and merge-base are different'\ntest fails with unexpected upstreams, and it's difficult to investigate\nfurther without getting more information about the git version and its\nconfig.\n\n[0]: http://www.cpantesters.org/cpan/report/3c155e5c-5392-11ee-8fb6-04536e8775ea","shortMessageHtmlLink":"Print git info on test failure, for a particular test"}},{"before":null,"after":"37f0f4ae54b51432e4d3ad242e5b01553d6b59ad","ref":"refs/heads/win","pushedAt":"2023-10-13T20:57:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Break the circular dependency between Util and Repo\n\nThe high-level test functions test_autofixup() and\ntest_autofixup_strict() didn't really fit in Util.","shortMessageHtmlLink":"Break the circular dependency between Util and Repo"}},{"before":"b5a27df00ad5d5f0266933926b8007267c23a0ec","after":"a37f117207826c1da2861b74158435020d0a8230","ref":"refs/heads/master","pushedAt":"2023-09-18T20:46:59.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004001","shortMessageHtmlLink":"Version 0.004001"}},{"before":"a39a91912dc8d8ae112c5f17682bf47aa206a5b0","after":"b5a27df00ad5d5f0266933926b8007267c23a0ec","ref":"refs/heads/master","pushedAt":"2023-09-14T21:57:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Version 0.004000","shortMessageHtmlLink":"Version 0.004000"}},{"before":"86f00a1e21268640e7ee5b27b000f719a9934521","after":"a39a91912dc8d8ae112c5f17682bf47aa206a5b0","ref":"refs/heads/master","pushedAt":"2023-09-14T21:16:20.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Improve error handling for external/system commands\n\nFor external commands that are expected to fail, it seems nice to print\ntheir stderr, annotated with the command so it doesn't seem like the\nerror message is from git-autofixup itself. So capture() has been added\nto make this easier to do.\n\nFor external commands that are unlikely to fail, it's still nice to\ncheck for failure to avoid continuing in a confusing way.\n\nPreviously I was using $! when it wasn't meaningful, often when I should\nhave been using $? instead.\n\nAlso, give more detailed information about problems with external\ncommands, adding child_error_desc() to make it more convenient.","shortMessageHtmlLink":"Improve error handling for external/system commands"}},{"before":"4255cb7f1f54c99ad0f424c4d1c782d0dd743470","after":"48e153a67ae9d9c89a1a490063d5e18edf9a0897","ref":"refs/heads/default_rev","pushedAt":"2023-09-09T06:54:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Choose upstream revisions automatically\n\nIf an upstream revision isn't given on the command-line, try to find\nsuitable ones automatically. This only works if the current branch has a\ntracking branch.\n\nWriting tests for this feature required refactoring the existing test\nhelpers significantly, and it made sense to put things in different\nfiles and use packages other than main to make it obvious what's being\ncalled. The stub module has to use the package that the module is\npublished as on CPAN, and we want to put the version in the script\n(git-autofixup) as well and compare the two, so the script needs to be a\ndifferent package, which will only be used internally.\n\nCloses #27","shortMessageHtmlLink":"Choose upstream revisions automatically"}},{"before":"a3bcd1a366e88d1da603dbf77d49ceb219b526b5","after":"4255cb7f1f54c99ad0f424c4d1c782d0dd743470","ref":"refs/heads/default_rev","pushedAt":"2023-09-08T20:42:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Choose upstream revisions automatically\n\nIf an upstream revision isn't given on the command-line, try to find\nsuitable ones automatically. This only works if the current branch has a\ntracking branch.\n\nWriting tests for this feature required refactoring the existing test\nhelpers significantly, and it made sense to put things in different\nfiles and use packages other than main to make it obvious what's being\ncalled.\n\nCloses #27","shortMessageHtmlLink":"Choose upstream revisions automatically"}},{"before":null,"after":"a3bcd1a366e88d1da603dbf77d49ceb219b526b5","ref":"refs/heads/default_rev","pushedAt":"2023-09-08T20:27:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Choose upstream revisions automatically\n\nIf an upstream revision isn't given on the command-line, try to find\nsuitable ones automatically. This only works if the current branch has a\ntracking branch.\n\nWriting tests for this feature required refactoring the existing test\nhelpers significantly, and it made sense to put things in different\nfiles and use packages other than main to make it obvious what's being\ncalled.","shortMessageHtmlLink":"Choose upstream revisions automatically"}},{"before":"e2583f1f19fd6c1c17513fcb3741f5413f3aa116","after":"86f00a1e21268640e7ee5b27b000f719a9934521","ref":"refs/heads/master","pushedAt":"2023-08-23T20:24:15.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Supply initial branch name via env\n\nOlder versions of git don't have the --initial-branch option, and some\nCPAN test network nodes are failing all the tests because of it. We can\nboth work with old versions and suppress the implicit default name\nwarning in new versions by instead providing the initial branch name via\nan environment variable. See repo_default_branch_name() in git/refs.c.","shortMessageHtmlLink":"Supply initial branch name via env"}},{"before":"f6fc16e2499a79e36a55b746d990602f3388322a","after":"e2583f1f19fd6c1c17513fcb3741f5413f3aa116","ref":"refs/heads/master","pushedAt":"2023-08-18T23:15:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Speed up creation of temporary index when autofixing staged changes\n\nInstead of using \"git read-tree\" to create an entirely new index,\nstart by copying the old index file, and then subtracting the changes\nmade since HEAD.\n\nThis greatly improves performance on a monorepo of 30k files,\nwhere my .git/index file is around 5MB. A run of git-autofixup with\na single staged line and some 100 commits in the topic branch goes\nfrom 6 seconds to merely 0.5.\n\nTake care to support the case where a user has set their own\nGIT_INDEX_FILE. This is a bit awkward because we apply it's default\nvalue ($GIT_DIR/index) in the callee but I couldn't make it work in\nthe caller.\n\nIn a previous attempt I tried to remove the temporary index, see\nhttps://github.com/krobelus/git-autofixup/commit/optimize-staged-changes\nbut that approach made it hard to reliably preserve user data in\nfailure scenarios - a little copying is much safer.","shortMessageHtmlLink":"Speed up creation of temporary index when autofixing staged changes"}},{"before":"1fe42831d5295ebcf9f37e0e09ea8e733963d96e","after":"f6fc16e2499a79e36a55b746d990602f3388322a","ref":"refs/heads/master","pushedAt":"2023-08-18T23:14:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"torbiak","name":"Jordan Torbiak","path":"/torbiak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/109347?s=80&v=4"},"commit":{"message":"Have `git blame` only search back to upstream\n\nWe need to know if a line is blamed on the topic branch or upstream, but\nif it is blamed on upstream we don't care which commit exactly, so we\ncan save `git blame` some work by telling it that the upstream commit\ndoesn't have any parents via the `-S ` option.\n\nNote that the manpage description of -S is wrong: it accepts a file of\nwhat git calls \"grafts\". These are described in commit\n5da5c8f4cf4fb of the git repo as \"fake commit parent records\". From that\ncommit message:\n\n> Each line of this file is a commit ID, followed by parent commit IDs,\n> all 40-byte hex SHA1 separated by a single SP in between. The records\n> override the parent information we would normally read from the commit\n> objects, allowing both adding \"fake\" parents (i.e. grafting), and\n> pretending as if a commit is not a child of some of its real parents\n> (i.e. cauterizing).\n\nApparently the -S option was intended for internal use, which might\nexplain why the manpage description is so misleading. From the comment\non read_ancestry() in the git repo:\n\n> Add phony grafts for use with -S; this is primarily to support git's\n> cvsserver that wants to give a linear history to its clients.\n\nUsing `git blame`'s --reverse option was investigated as a mechanism to\nsave work, but it requires the path being blamed to exist in the\nstarting commit, which won't always be the case for us.\n\nCloses #17","shortMessageHtmlLink":"Have git blame only search back to upstream"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD2Yl8LwA","startCursor":null,"endCursor":null}},"title":"Activity ยท torbiak/git-autofixup"}