Package Details: emacs-magit-git 2.11.0.r347.c7f6bfe7-2

Git Clone URL: (read-only)
Package Base: emacs-magit-git
Description: It's Magit! A Emacs mode for Git.
Upstream URL:
Licenses: GPL3
Conflicts: emacs-magit
Provides: emacs-magit
Submitter: None
Maintainer: esben
Last Packager: esben
Votes: 37
Popularity: 0.000004
First Submitted: 2009-01-20 15:54
Last Updated: 2017-12-16 11:31

Latest Comments

esben commented on 2017-12-16 14:11

I have now created emacs-magit-popup and emacs-ghub, and fixed this package to build again. For stable result you might want to use the emacs-magit package instead though.

esben commented on 2017-12-15 09:05

I have created emacs-magit AUR package, providing access to latest released version. It is probably a better choice for most people...

esben commented on 2017-12-14 18:32


Is caused by

I will package up that and fixup emacs-magit-git accordingly.

mafzst commented on 2017-12-14 17:18

Hi I encountering this issue when building

==> Starting build()...

make[1]: Entering directory '/tmp/yaourt-tmp-nicolas/aur-emacs-magit-git/src /magit/lisp'

Compiling git-commit.el

Compiling magit-utils.el

Compiling magit-section.el

Compiling magit-git.el

In toplevel form:

magit-git.el:33:1:Error: Cannot open load file: No such file or directory, magit-popup

make[1]: *** [Makefile:61: magit-git.elc] Error 1

make[1]: Leaving directory '/tmp/yaourt-tmp-nicolas/aur-emacs-magit-git/src/magit/lisp'

make: *** [Makefile:73: lisp] Error 2

sarah.j commented on 2017-11-06 14:56

Thanks for the reply. However, I don't get how it could be related to the way I am building the package since I haven't change the PKGBUILD. I have checked and I do not have a magit-version.el file.

esben commented on 2017-11-06 11:24

It could be related to the way you are building the package.

In my emacs-magit-git dir:

$ find . -name magit-version\*

sarah.j commented on 2017-11-06 10:52

I am trying to build the package but I am getting the following error when installing :

install: Could not evaluate 'magit-version.el': No such file or directory
make[1]: *** [Makefile:91: install] Error 1

Any ideas ?


esben commented on 2016-04-04 08:00

That is exactly what I am doing. I am running mksrcinfo when updating. I am just removing the autogenerated comment in the top of the file, to avoid git churn.

haawda commented on 2016-03-16 18:52

You should not modify .Srcinfo manually, but run mksrcinfo each time you want to upload something you changed.

esben commented on 2016-03-16 10:55

Hi @donpicoro. The .SRCINFO was in the package when I adopted it, and in my change after adopting this package modified both PKGBUILD and .SRCINFO. I am new to Arch and AUR, and have no idea why you are having this problem... What should I be looking for then?

donpicoro commented on 2016-03-16 09:29

Dear @esben: you forgot to inclde the .SRCINFO file and thereforeit fails with:

grep: /tmp/pacaurtmp-shkksh/emacs-magit-git/.SRCINFO: No such file or directory

Do not forget to create those files by running "mksrcinfo" at the source directory where the PKGBUILD is located and upload the files to the git AUR repository ;-)

esben commented on 2016-01-31 08:08

Package adopted, and updated to 2.5.0, fixing dash version and with-editor dependency.

Let me know of any remaining issues.

danekl commented on 2015-10-30 21:47

Note that magit now requires emacs-dash 2.12

holos commented on 2014-09-16 22:17

writing to let you know I have disowned git-modes-git, if you wish to take ownership

haawda commented on 2014-03-27 19:39

thanks asafo, fixed.

asafo commented on 2014-03-26 22:05

fix in PKGBUILD:

make EFLAGS="-L /usr/share/emacs/site-lisp" lisp docs


make EFLAGS="-L /usr/share/emacs/site-lisp -L /usr/share/emacs/site-lisp/git-modes" lisp docs

donpicoro commented on 2014-01-24 10:00

Hej, I am getting this:

In toplevel form:
magit.el:72:1:Error: Cannot open load file: git-rebase-mode
Makefile:87: recipe for target 'magit.elc' failed

any ideas? Thanks!

haawda commented on 2014-01-16 18:58

emacs-git-modes-git exists now.

haawda commented on 2014-01-16 18:56

I created emacs-git-modes-git for that purpose and updated emacs-magit-git.

aleksander0m commented on 2014-01-16 16:59

Since recently, magit depends on the 'git-modes' package, which isn't in AUR yet; see:

geekinthesticks commented on 2013-12-24 09:19

Just tried building and got the following error:

In toplevel form:
magit.el:73:1:Error: Cannot open load file: git-rebase-mode
Makefile:87: recipe for target 'magit.elc' failed
make: *** [magit.elc] Error 1

I am not sure which package contains git-rebase-mode.

haawda commented on 2013-07-27 22:22

Changed pkgver command to "git describe --tags". Otherwise the version number would be lower than the one of the stable package.

alfplayer commented on 2013-05-10 23:11

Sorry, I marked it as mistake. A confirmation would be nice.

haawda commented on 2013-04-06 14:24

pacman-4.1-ready PKGBUILD.

haawda commented on 2013-04-05 15:07

cl-lib is part of emacs itself. Do you have a recent version of emacs installed?

pwalker commented on 2013-04-05 14:54

Cloning into 'magit'...
remote: Counting objects: 49, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 49 (delta 13), reused 22 (delta 1)
Receiving objects: 100% (49/49), 150.41 KiB, done.
Resolving deltas: 100% (13/13), done.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
sed -e "s/@GIT_DEV_VERSION@//" < magit.el > magit.tmp.el #NO_DIST
emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \".\") load-path))" --eval '(byte-compile-file "magit-svn.el")'
emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \".\") load-path))" --eval '(byte-compile-file "magit-topgit.el")'
emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \".\") load-path))" --eval '(byte-compile-file "magit-stgit.el")'
emacs -batch -q -no-site-file -eval "(setq load-path (cons (expand-file-name \".\") load-path))" --eval '(byte-compile-file "magit.tmp.el")' #NO_DIST

In toplevel form:
magit.tmp.el:147:1:Error: Cannot open load file: cl-lib
mv magit.tmp.elc magit.elc #NO_DIST
mv: cannot stat ‘magit.tmp.elc’: No such file or directory
make: *** [magit.elc] Error 1
make: *** Waiting for unfinished jobs....

In toplevel form:
magit-svn.el:32:1:Error: Cannot open load file: cl-lib

In toplevel form:
magit-topgit.el:26:1:Error: Cannot open load file: cl-lib

In toplevel form:
magit-stgit.el:42:1:Error: Cannot open load file: cl-lib

I think there is another dependency missing... any ideas?

haawda commented on 2013-03-04 23:54

Added ed to the makedepends. Thanks, abdo.

abdo commented on 2013-03-04 23:48

'ed' should be added to makedepends.

haawda commented on 2011-08-17 21:21

Adopted and updated.

hdhoang commented on 2011-04-27 05:23

You should define _gitname so that makepkg version-bumping magic work. The "|| return 1" are obsolete.

Anonymous comment on 2011-04-26 15:51

I think url should be gives a 404.

hdhoang commented on 2011-04-09 08:05

The .install advice is unnecessary because upstream ships /etc/emacs/site-start.d/50magit.el which does the same.

Anonymous comment on 2010-06-04 10:12

I've noticed that, but since I'm no longer using Arch, I'll be disowning the package so someone who can properly test it can update the PKGBUILD.

Anonymous comment on 2010-06-03 21:35

Looks like magit has moved to githup with a new maintainer. We should probably be pulling from the new official repo.