{"thread":{"id":"63344","subject":"Obscured (overwritten) second prompt for credentials during clone operation","startedAt":"2025-04-24T22:13:30Z","lastAt":"2025-04-24T22:13:30Z","messageCount":1,"participants":["Tom S"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"516696","messageId":"SA1PR16MB613444332129B96B51EF1D27B9852@SA1PR16MB6134.namprd16.prod.outlook.com","threadId":"63344","inReplyTo":null,"subject":"Obscured (overwritten) second prompt for credentials during clone operation","fromName":"Tom S","fromEmail":"toms@gentuity.com","sentAt":"2025-04-24T22:13:24Z","receivedAt":"2025-04-24T22:13:30Z","isPatch":false,"sender":{"key":"toms@gentuity.com","avatar":null},"body":"While cloning a repo through HTTPS from a locally-hosted GitLab server, I was prompted a second time for credentials, but the prompt was mostly obscured by other Git output. The only visible sign that a prompt was present was \".ocal':\" on the line that starts with \"Updating files\". This repo uses Git LFS, and I suspect but do not know for a fact that the second prompt is related to pulling LFS content. By typing the username I was able to elicit the second prompt for a password, and it does work, but the first time through I missed this detail and the clone operation did not succeed.\n\nAssuming a second prompt is necessary, I would expect this second prompt for Username to appear on its own line without being overwritten by other Git output nor advancing the cursor to subsequent lines.\n\n$ git clone -c http.sslCAInfo=/.../<redacted>.pem https://<redacted>.local/sw/<redacted>.git\nCloning into '<redacted>'...\nUsername for 'https://<redacted>.local': <redacted>\nPassword for 'https://<redacted>@<redacted>.local':\nremote: Enumerating objects: 179533, done.\nremote: Counting objects: 100% (179533/179533), done.\nremote: Compressing objects: 100% (34949/34949), done.\nremote: Total 179533 (delta 144313), reused 179448 (delta 144269), pack-reused 0 (from 0)\nReceiving objects: 100% (179533/179533), 870.75 MiB | 13.79 MiB/s, done.\nResolving deltas: 100% (144313/144313), done.\nUpdating files: 100% (2881/2881), done.ocal': Updating files:  95% (2737/2881)\n<redacted username>\nPassword for 'https://<redacted>@<redacted>.local':\n\nI observed this with Git 2.49.0 with Fedora 42 on x64 using the default Gnome Terminal plus tmux.\n\nRegards,\nTom\n\n\n"}]}