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

Re: Mercurial's only true "plugin" extension: inotify... and can it be done in Git?

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 10, 2008, 18:38 UTC
Message-ID
<200803101938.09300.jnareb@gmail.com>
In-Reply-To
<200803091459.21354.jnareb@gmail.com>
On Sun, 9 Mar 2008, Jakub Narebski wrote:
Show 5 quoted lines
> When reading "Distributed Revision Control with Mercurial" to
> see how Mercurial differs from Git, in the chapter 14 "Adding
> functionality  with extensions" there is description
> (in section 14.1) of one  interesting extension,
> namely 'inotify' extension. 

By the way, when browsing list of available Mercurial extensions http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions inotify extension was single extension which doesn't have less or more direct equivalent in Git, or cannot be easy done in Git.

See the table below for details:
Mercurial extension | git equivalent (or proposal)
--------------------+------------------------------------
acl                 | update-paranoid contrib hook
alias               | alias.<cmd> config
bisect              | git-bisect
bugzilla            | possible as hook
children            | possible command, cf. git-name-rev
convert (!)         | <possible, would be nice to have>
extdiff             | diff.external / GIT_EXTERNAL_DIFF
fetch               | git-pull (sic!)
gpg                 | signed tags
graphlog            | <possible, see: tig, git-forest>
hgk (*)             | gitk
imerge              | see git-mergetool
keyword expansion   | check possible gitattributes
mq                  | Guilt, StGit
notify              | post-receive-mail contrib hook,
                    | default update hook
graphviz            | <can be done>
send                | <possible, wrapper around git-bundle>
rdiff (!)           | <a trick for local repo in GitTips>
localbranch (*)     | git-branch, git-checkout
parentRevspec (*)   | rev^, rev^1 or rev^2, rev~n
patchbomb           | git-send-email
record              | git add -i, git commit -i
transplant          | git-rebase
win32ext            | core.autocrlf config
churn               | see git-shortlog
purge               | git-clean
cvscommit           | see git-cvsexportcommit, git-cvsserver
config              | compare git-config
digest              | see git-ls-remote for bundle
diffstat            | git diff --diffstat, default for git-pull
easy*               | see tig
forest              | git-submodule
hgcia               | CIA hook mentioned on GitWiki
inotify (!!!)       |

Footnotes: ========== (*) Directly inspired by git feature (!) No direct equivalent, would be quite a work to add (!!!) No equivalent, don't know if possible

-- 
Jakub Narebski
Poland
Previous: Jakub NarebskiNext: Andreas Ericsson
Message 2 of 10 in “Mercurial's only true "plugin" extension: inotify... and can it be done in Git?”
  1. Jakub NarebskiMar 9, 2008
  2. Jakub NarebskiMar 10, 2008
  3. Andreas EricssonMar 11, 2008
  4. Junio C HamanoMar 11, 2008
  5. Andreas EricssonMar 11, 2008
  6. Jakub NarebskiMar 11, 2008
  7. Geert BoschMar 10, 2008
  8. Shawn O. PearceMar 10, 2008
  9. J. Bruce FieldsMar 10, 2008
  10. Jakub NarebskiMar 15, 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.