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

git-email automatic --to detection?

From
JGJohn Goerzen <jgoerzen@complete.org>
Date
Feb 24, 2008, 22:29 UTC
Message-ID
<slrnfs3rv4.aqm.jgoerzen@katherina.lan.complete.org>

One of my favorite features of Darcs is that users can submit patches by typing:

  darcs send -a

This will look at the repo the local copy was cloned from, find all local changesets that aren't on the remote, and email off a set of patches to the remote maintainer. It finds the email address to send to by looking at _darcs/prefs/email *on the remote*, which is roughly the same as setting an option in .git/config.

There are a couple of nice things about this:
1) Patch submitters don't have to keep track of where to send patches
for each project they work on
2) Potential submitters don't have to be notified if the submission
address changes

As far as I can tell from looking at git-send-email(1), git-format-patch(1), and git-config(1), git doesn't have this capability. Is that correct? If so, is it possible to add something like this? Would it also be possible to unify git-format-patch and git-send-email into a single command that generates and sends the patch(es)?

Thanks,
-- John
Next: Paolo Ciarrocchi
Message 1 of 18 in “git-email automatic --to detection?”
  1. John GoerzenFeb 24, 2008
  2. Paolo CiarrocchiFeb 24, 2008
  3. John GoerzenFeb 25, 2008
  4. Jeff KingFeb 25, 2008
  5. Paolo CiarrocchiFeb 25, 2008
  6. Miklos VajnaFeb 25, 2008
  7. John GoerzenFeb 25, 2008
  8. Miklos VajnaFeb 25, 2008
  9. Jeff KingFeb 25, 2008
  10. Matthieu MoyFeb 25, 2008
  11. Jeff KingFeb 25, 2008
  12. John GoerzenFeb 25, 2008
  13. Matthieu MoyFeb 26, 2008
  14. John GoerzenFeb 26, 2008
  15. Miklos VajnaFeb 25, 2008
  16. John GoerzenFeb 26, 2008
  17. Miklos VajnaFeb 26, 2008
  18. Junio C HamanoFeb 25, 2008

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.