commit 66e6dcbacf43ecd7988b059f783d5d71af60b00bb0e33a06a582ef9204f9c61f from: Stefan Sperling date: Sat Oct 10 11:18:31 2026 UTC revise send_info fix: send an invalid hash algorithm instead of erroring out gotsysctl looks at this algo field to find out whether a printable commit-ID is present in the structure. commit - 9527045ad78ba956142e13a60fdf5dbdb803203d6c922fdbb40b45b272974f6b commit + 66e6dcbacf43ecd7988b059f783d5d71af60b00bb0e33a06a582ef9204f9c61f blob - 444488c3b3f8f34ca8398da83f22db078064806eb3edd36ed352d060bf06a915 blob + 565da610a3951988939ae7ed16835b1957fecbde71ae1d44e9be83dc28e1a68d --- gotsysd/gotsysd.c +++ gotsysd/gotsysd.c @@ -365,7 +365,7 @@ send_info(struct gotsysd_client *client) GOT_HASH_SHA256)) memcpy(&info.commit_id, &commit_id, sizeof(info.commit_id)); else - return got_error(GOT_ERR_OBJECT_FORMAT); + info.commit_id.algo = GOT_NUM_HASH_ALGOS; if (gotsysd_imsg_compose_event(&client->iev, GOTSYSD_IMSG_INFO, GOTSYSD_PROC_GOTSYSD, -1, &info, sizeof(info)) == -1) {