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

feature request - add --only-author option to git push

From
TBToni Brkic <brkict@gmail.com>
Date
Aug 27, 2020, 07:47 UTC
Message-ID
<CAF2SHyBYZ7=vcL4sPdP=T9zRCBrwW_z0-o1v9=gC4=oPqv4oXQ@mail.gmail.com>

Sorry if this mail list is not used for feature requests/discussions. This was the best list I found. Let me know if should post it somewhere else.

I would like to be able to configure git so that when doing git push git checks that I am author of all patches that are being pushed. If I am not authour it should not do push.

The reason for this is that a common mistake that happens when working with gerrit (at least for me)

Person A has uploaded patch1 I need patch1 to continue development and cherry pick it to my repo. Person A uploads new version of patch1 I have finished my patch and push to gerrit. What then happens is that I have an older version of patch1 and thus overwrite the new version by Person A

Maybe there is some way already to do this, but I could not find anything when searching.

BR,
Toni
Next: Pratyush Yadav
Message 1 of 6 in “feature request - add --only-author option to git push”
  1. Toni BrkicAug 27, 2020
  2. Pratyush YadavAug 27, 2020
  3. Toni BrkicAug 27, 2020
  4. Pratyush YadavAug 27, 2020
  5. Toni BrkicAug 27, 2020
  6. Junio C HamanoAug 27, 2020

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.