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