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

Feature Request: Branch Description updating support for git fetch/pull/push

From
Stephen Connolly <stephen.alan.connolly@gmail.com>
Date
Oct 19, 2015, 09:15 UTC
Message-ID
<CA+nPnMzQEgMZQGHjWbWXs2_QcZGV9PVn4+RTTmZO8QD5g18sfQ@mail.gmail.com>

Branch descriptions are great. Even more so if you set merge.branchdesc=true (while we are at it could there be a CLI option to git merge that allowed overriding merge.branchdesc for that merge)

But the bit that pains me is that my description is local only.
Could we add support for syncing the branch description with the remote?
When I think about how such sync could work:
* I would see the sync as an option that needs to be enabled rather
than on by default (at least as long as `merge.branchdesc` is an
option). Overriding by the CLI would be great, e.g.
`--description-sync / --no-description-sync`
* When that sync is enabled, if the destination side is missing a
description then the description is sync'd. Otherwise if the
destination description differs from the source description the user
must explicitly specify one of `--description-sync /
--no-description-sync` or else the operation will stop before updating
references (I think that `git fetch` could be an exception to this
rule as updating the remote branch descriptions by overwriting is
exactly what you want, but for `git pull` / `git push` I think they
need the CLI confirmation if the user has opted into synchronizing
branch descriptions)
WDYT?
Message 1 of 1 in “Feature Request: Branch Description updating support for git fetch/pull/push”
  1. Stephen ConnollyOct 19, 2015

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.