git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[little BUG] pushing to existing branch with remote-helper shows [new branch]

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Aug 31, 2011, 16:46 UTC
Message-ID
<vpqfwkho7f4.fsf@bauges.imag.fr>
Hi,

Nothing serious, but I think this is a little bug in transport-helper. I noticed it working on git-remote-mediawiki, and could reproduce it with testgit:

/tmp/clone$ git push
To testgit::/tmp/repo
 * [new branch]      master -> master
/tmp/clone$ date >> foo.txt; git commit -am bar
[master 4438ced] bar
 1 files changed, 1 insertions(+), 0 deletions(-)
/tmp/clone$ git push
To testgit::/tmp/repo
 * [new branch]      master -> master
(/tmp/clone is a clone of testgit::/tmp/repo)
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Message 1 of 1 in “[little BUG] pushing to existing branch with remote-helper shows [new branch]”
  1. Matthieu MoyAug 31, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.