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

Re: [PATCH] contrib/hooks/post-receive-email: get description from repo.git/config

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 7, 2013, 15:36 UTC
Message-ID
<vpq61yuol7t.fsf@grenoble-inp.fr>
In-Reply-To
<7vr4hilt28.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
> I have a mildly strong suspicion that a better approach might be to:
>
>  - Copy the current stable snapshot to the contrib/ area, [...]
>
>  - Keep the development at your GitHub repository, [...]
>
>  - Update what is in contrib/ in my tree with a stable snapshot,
>    every once in a while [...]
I think this is not very different from
- merge the current version in the contrib/ area
- keep the development at the GitHub repository
- merge the GitHub repository into the git.git once in a while

(which is essentially what happens with gitk and git-gui as far as I understood)

I tend to prefer the "merge" approach to the "copy files from one repo to another", even if git_multimail is never edited directly from git.git. I find it conceptually cleaner, and it gives a bit more flexibility (e.g. if someone accidentally commits in git.git's repository, the commit would also be valid wrt git_multimail's GitHub repo, and can serve as a pull request).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Junio C HamanoNext: Junio C Hamano
Message 9 of 15 in “contrib/hooks/post-receive-email: get description from repo.git/config”
  1. contrib/hooks/post-receive-email: get description from repo.git/configTrond Hasle Amundsen, May 6, 2013
  2. Trond Hasle AmundsenMay 6, 2013
  3. Junio C HamanoMay 6, 2013
  4. Matthieu MoyMay 6, 2013
  5. Trond Hasle AmundsenMay 6, 2013
  6. Junio C HamanoMay 7, 2013
  7. Michael HaggertyMay 7, 2013
  8. Junio C HamanoMay 7, 2013
  9. Matthieu MoyMay 7, 2013
  10. Junio C HamanoJul 1, 2013
  11. Michael HaggertyJul 2, 2013
  12. Junio C HamanoJul 2, 2013
  13. Matthieu MoyMay 7, 2013
  14. Junio C HamanoMay 7, 2013
  15. Trond Hasle AmundsenMay 6, 2013

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.