{"thread":{"id":"19927","subject":"git in emacs","startedAt":"2009-06-25T12:35:49Z","lastAt":"2009-06-29T19:50:12Z","messageCount":4,"participants":["Rustom Mody","Jakub Narebski","Alexandre Julliard"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116926","messageId":"f46c52560906250535k6a0eb0a5ne05dc327760d14bd@mail.gmail.com","threadId":"19927","inReplyTo":null,"subject":"git in emacs","fromName":"Rustom Mody","fromEmail":"rustompmody@gmail.com","sentAt":"2009-06-25T12:35:49Z","receivedAt":"2009-06-25T12:35:49Z","isPatch":false,"sender":{"key":"rustompmody@gmail.com","avatar":null},"body":"Ive been trying to use git.el in emacs\n\nWhen I checked out an internal commit (I guess that's called a\ndetached head?) then git-status (in emacs) starts giving me\n\nBranch:     fatal: ref HEAD is not a symbolic ref\n\nThis goes away when I do\ngit reset --hard <original-head-sha> --\ngit checkout master\n\n[I'm not sure this the best way of restoring the head]\n\nBut my question is more about git in emacs. I gather that there are 3 options:\n1. git.el\n2. vc with git backend\n3. dvc with git backend\n\nWhich is best/preferable?\nOr is it best to stay with the command line?\n"},{"id":"116928","messageId":"m3bpocxyf4.fsf@localhost.localdomain","threadId":"19927","inReplyTo":"f46c52560906250535k6a0eb0a5ne05dc327760d14bd@mail.gmail.com","subject":"Re: git in emacs","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2009-06-25T12:59:18Z","receivedAt":"2009-06-25T12:59:18Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Rustom Mody <rustompmody@gmail.com> writes:\n\n> Ive been trying to use git.el in emacs\n> \n> When I checked out an internal commit (I guess that's called a\n> detached head?) then git-status (in emacs) starts giving me\n> \n> Branch:     fatal: ref HEAD is not a symbolic ref\n> \n> This goes away when I do\n> git reset --hard <original-head-sha> --\n> git checkout master\n> \n> [I'm not sure this the best way of restoring the head]\n\nThis probably means that git.el (which version do you use) should \nbe corrected.\n\n> \n> But my question is more about git in emacs. I gather that there are 3 options:\n> 1. git.el\n> 2. vc with git backend\n> 3. dvc with git backend\n> \n> Which is best/preferable?\n> Or is it best to stay with the command line?\n\nSee http://www.emacswiki.org/emacs-en/Git\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"116930","messageId":"f46c52560906250613l3759375dk855632b255ddc6e8@mail.gmail.com","threadId":"19927","inReplyTo":"m3bpocxyf4.fsf@localhost.localdomain","subject":"Re: git in emacs","fromName":"Rustom Mody","fromEmail":"rustompmody@gmail.com","sentAt":"2009-06-25T13:13:27Z","receivedAt":"2009-06-25T13:13:27Z","isPatch":false,"sender":{"key":"rustompmody@gmail.com","avatar":null},"body":"On Thu, Jun 25, 2009 at 6:29 PM, Jakub Narebski<jnareb@gmail.com> wrote:\n> Rustom Mody <rustompmody@gmail.com> writes:\n>\n>> Ive been trying to use git.el in emacs\n>>\n>> When I checked out an internal commit (I guess that's called a\n>> detached head?) then git-status (in emacs) starts giving me\n>>\n>> Branch:     fatal: ref HEAD is not a symbolic ref\n>>\n>> This goes away when I do\n>> git reset --hard <original-head-sha> --\n>> git checkout master\n>>\n>> [I'm not sure this the best way of restoring the head]\n>\n> This probably means that git.el (which version do you use) should\n> be corrected.\n\nOk So I had an old version\nNow its version 1.0\nBut I still get the same error :-(\n>\n>>\n>> But my question is more about git in emacs. I gather that there are 3 options:\n>> 1. git.el\n>> 2. vc with git backend\n>> 3. dvc with git backend\n>>\n>> Which is best/preferable?\n>> Or is it best to stay with the command line?\n>\n> See http://www.emacswiki.org/emacs-en/Git\n>\n> --\n> Jakub Narebski\n> Poland\n> ShadeHawk on #git\n>\n"},{"id":"117177","messageId":"87prcmyg3v.fsf@wine.dyndns.org","threadId":"19927","inReplyTo":"f46c52560906250613l3759375dk855632b255ddc6e8@mail.gmail.com","subject":"Re: git in emacs","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2009-06-29T19:50:12Z","receivedAt":"2009-06-29T19:50:12Z","isPatch":false,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"Rustom Mody <rustompmody@gmail.com> writes:\n\n> On Thu, Jun 25, 2009 at 6:29 PM, Jakub Narebski<jnareb@gmail.com> wrote:\n>> This probably means that git.el (which version do you use) should\n>> be corrected.\n>\n> Ok So I had an old version\n> Now its version 1.0\n> But I still get the same error :-(\n\nThe version number isn't helpful I'm afraid, they are all called 1.0...\n\nYou probably still have an old version, detached head support was added\nquite some time ago. You can get the latest version from the git source\ntree.\n\n-- \nAlexandre Julliard\njulliard@winehq.org\n"}]}