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

Adding git hooks

From
SISuvorov Ivan <sv_91@inbox.ru>
Date
Apr 26, 2014, 09:34 UTC
Message-ID
<1398504843.79785833@f133.i.mail.ru>

Hello. I want to extend the functionality of git due to the possibility of separation of the user repository into 2 parts - one part will be stored as usual, under version control git, and the second part will be stored in another location such as an FTP-server.

This will be done in order to be able to separate the user repository binary data from the source code and binary data can stored separately.
For example, now on github prohibited to upload files larger than 100 MB, but some large files still would like to keep under version control.
And it will be possible to make due to the proposed division of the repository. It is assumed that this functionality will be developed for the most part separately from the program git, using a mechanism git hook. But in the current program git not enough hooks to implement this functionality. For example, it would be nice to have existed on the hook command git status, so that the output of this command can be supplemented by a list of binaries that are not under version control in main repository, but are under version control, for example in FTP server.
As a community Git consider the idea of a extend mechanism the functionality git hook?
Next: Junio C Hamano
Message 1 of 5 in “Adding git hooks”
  1. Suvorov IvanApr 26, 2014
  2. Junio C HamanoApr 26, 2014
  3. Jeff KingApr 26, 2014
  4. Junio C HamanoApr 28, 2014
  5. Jeff KingApr 28, 2014

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.