{"thread":{"id":"62181","subject":"Git server negotiate fails on first push","startedAt":"2024-09-24T03:14:17Z","lastAt":"2024-09-24T03:14:17Z","messageCount":1,"participants":["Eason Lu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"503296","messageId":"9233004e-5aeb-4a02-9fe0-d794e54c1efc@gmail.com","threadId":"62181","inReplyTo":null,"subject":"Git server negotiate fails on first push","fromName":"Eason Lu","fromEmail":"aelnosu@gmail.com","sentAt":"2024-09-24T03:14:15Z","receivedAt":"2024-09-24T03:14:17Z","isPatch":false,"sender":{"key":"aelnosu@gmail.com","avatar":null},"body":"Dear developers the following is a bug report that I generated and \nfilled out using git-bugreport:\n\nThank you for filling out a Git bug report!\nPlease answer the following questions to help us understand your issue.\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n1. Create a empty git repository on a remote server.\n2. Create a local git repository with at least one commit.\n3. Push to remote with \"negotiate = true\" in the .gitconfig\n4. Get error like\n\"\"\"\nfatal: expected 'acknowledgments', received 'packfile'\nwarning: push negotiation failed; proceeding anyway with push\nEnumerating objects: 42, done.\nCounting objects: 100% (42/42), done.\nDelta compression using up to 4 threads\nCompressing objects: 100% (19/19), done.\nWriting objects: 100% (42/42), 96.94 KiB | 96.94 MiB/s, done.\nTotal 42 (delta 20), reused 42 (delta 20), pack-reused 0 (from 0)\nTo gitlab.com:aelnosu/push-test.git\n  * [new branch]      main -> main\n\"\"\"\n\nWhat did you expect to happen? (Expected behavior)\nNo error during push.\n\nWhat happened instead? (Actual behavior)\nThe push succeeded but with \"fatal: expected 'acknowledgments', received \n'packfile'\"\n\nWhat's different between what you expected and what actually happened?\nThere is an error message and a warning message.\n\nAnything else you want to add:\nIt does not prevent the push, but the errors are not expected.\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version 2.45.2\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 6.10.9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.9-1 \n(2024-09-08) x86_64\ncompiler info: gnuc: 13.2\nlibc info: glibc: 2.40\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\n\n-- \nYours\nEason Lu\n"}]}