* magit: What git commands have been run @ 2014-07-07 18:53 Shiyuan 2014-07-07 19:02 ` Alexander Baier 2014-07-08 18:22 ` Michael Heerdegen 0 siblings, 2 replies; 13+ messages in thread From: Shiyuan @ 2014-07-07 18:53 UTC (permalink / raw) To: help-gnu-emacs Hi, Is there a way to see what git commands have just been run? Thanks. Shiyuan ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 18:53 magit: What git commands have been run Shiyuan @ 2014-07-07 19:02 ` Alexander Baier 2014-07-07 19:20 ` Shiyuan 2014-07-08 18:22 ` Michael Heerdegen 1 sibling, 1 reply; 13+ messages in thread From: Alexander Baier @ 2014-07-07 19:02 UTC (permalink / raw) To: Shiyuan; +Cc: help-gnu-emacs Hi Shiyuan, On 2014-07-07 20:53 Shiyuan wrote: > Hi, > Is there a way to see what git commands have just been run? Thanks. > > Shiyuan After running at least one git command via magit, do you have a *magit-process* buffer in your buffer list? That should hold the information you are interested in. On a related note: C-h v magit-process-popup-time HTH, -- Alexander Baier ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 19:02 ` Alexander Baier @ 2014-07-07 19:20 ` Shiyuan 2014-07-07 21:45 ` Alexander Baier 0 siblings, 1 reply; 13+ messages in thread From: Shiyuan @ 2014-07-07 19:20 UTC (permalink / raw) To: Shiyuan, help-gnu-emacs Thanks for the pointer, Alexander *magit-process* seems not showing all git commands. I can see some `git checkout` command there but the git commands corresponding to `l-l` in magit is not shown in that buffer. Does magit run any git command behind the scene for `l-l` too? Shiyuan On Mon, Jul 7, 2014 at 12:02 PM, Alexander Baier < alexander.baier@mailbox.org> wrote: > Hi Shiyuan, > > On 2014-07-07 20:53 Shiyuan wrote: > > Hi, > > Is there a way to see what git commands have just been run? Thanks. > > > > Shiyuan > > After running at least one git command via magit, do you have a > *magit-process* buffer in your buffer list? That should hold the > information you are interested in. > > On a related note: > > C-h v magit-process-popup-time > > HTH, > -- > Alexander Baier > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 19:20 ` Shiyuan @ 2014-07-07 21:45 ` Alexander Baier 2014-07-07 21:50 ` Jai Dayal 0 siblings, 1 reply; 13+ messages in thread From: Alexander Baier @ 2014-07-07 21:45 UTC (permalink / raw) To: Shiyuan; +Cc: help-gnu-emacs On 2014-07-07 21:20 Shiyuan wrote: > Thanks for the pointer, Alexander > *magit-process* seems not showing all git commands. I can see some `git > checkout` command there but the git commands corresponding to `l-l` in > magit is not shown in that buffer. Does magit run any git command behind > the scene for `l-l` too? Indeed, you are right. I would guess that magit runs something behind the scenes for `l l` if only for performance reasons. But I don't know how you would conveniently inspect the git command issued by this emacs command. Well, you might take a look at the magit source code, it is open source after all ;-) Regards, -- Alexander Baier ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 21:45 ` Alexander Baier @ 2014-07-07 21:50 ` Jai Dayal 2014-07-07 22:05 ` Alexander Baier 2014-07-08 4:44 ` Shiyuan 0 siblings, 2 replies; 13+ messages in thread From: Jai Dayal @ 2014-07-07 21:50 UTC (permalink / raw) To: Shiyuan, help-gnu-emacs What version of Magit are you using? My magit-process shows git pulls, commits, and pushes. On Mon, Jul 7, 2014 at 3:45 PM, Alexander Baier <alexander.baier@mailbox.org > wrote: > On 2014-07-07 21:20 Shiyuan wrote: > > Thanks for the pointer, Alexander > > *magit-process* seems not showing all git commands. I can see some `git > > checkout` command there but the git commands corresponding to `l-l` in > > magit is not shown in that buffer. Does magit run any git command behind > > the scene for `l-l` too? > > Indeed, you are right. I would guess that magit runs something behind > the scenes for `l l` if only for performance reasons. But I don't know > how you would conveniently inspect the git command issued by this emacs > command. Well, you might take a look at the magit source code, it is > open source after all ;-) > > Regards, > -- > Alexander Baier > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 21:50 ` Jai Dayal @ 2014-07-07 22:05 ` Alexander Baier 2014-07-07 22:06 ` Jai Dayal 2014-07-08 4:44 ` Shiyuan 1 sibling, 1 reply; 13+ messages in thread From: Alexander Baier @ 2014-07-07 22:05 UTC (permalink / raw) To: Jai Dayal; +Cc: help-gnu-emacs On 2014-07-07 23:50 Jai Dayal wrote: > What version of Magit are you using? My magit-process shows git pulls, > commits, and pushes. Neither of these should have anything to do with `l l`, which will be something like "git log ..." I guess. Regards, -- Alexander Baier ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 22:05 ` Alexander Baier @ 2014-07-07 22:06 ` Jai Dayal 2014-07-08 9:07 ` Alexander Baier 0 siblings, 1 reply; 13+ messages in thread From: Jai Dayal @ 2014-07-07 22:06 UTC (permalink / raw) To: Jai Dayal, Shiyuan, help-gnu-emacs I see. I misunderstood. i thought you were asking about which git commands have been run through magit, but you are asking about git commands in general. On Mon, Jul 7, 2014 at 4:05 PM, Alexander Baier <alexander.baier@mailbox.org > wrote: > On 2014-07-07 23:50 Jai Dayal wrote: > > What version of Magit are you using? My magit-process shows git pulls, > > commits, and pushes. > > Neither of these should have anything to do with `l l`, which will be > something like "git log ..." I guess. > > Regards, > -- > Alexander Baier > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 22:06 ` Jai Dayal @ 2014-07-08 9:07 ` Alexander Baier 0 siblings, 0 replies; 13+ messages in thread From: Alexander Baier @ 2014-07-08 9:07 UTC (permalink / raw) To: Jai Dayal; +Cc: help-gnu-emacs IIUC, this is exactly what the OP (Shiyuan) is asking for: Which git command line is executed upon issuing certain keys in magit. Looking at *magit-process* does not clear this up completely, as only a subset of commands (I would guess those that modify the local or a remote repo?) are displayed in said buffer. So we still do not know what magit does when you do `l l` in the status buffer. Alexander Baier On 2014-07-08 00:06 Jai Dayal wrote: > I see. I misunderstood. i thought you were asking about which git commands > have been run through magit, but you are asking about git commands in > general. > > > On Mon, Jul 7, 2014 at 4:05 PM, Alexander Baier <alexander.baier@mailbox.org >> wrote: > >> On 2014-07-07 23:50 Jai Dayal wrote: >> > What version of Magit are you using? My magit-process shows git pulls, >> > commits, and pushes. >> >> Neither of these should have anything to do with `l l`, which will be >> something like "git log ..." I guess. >> >> Regards, >> -- >> Alexander Baier >> > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 21:50 ` Jai Dayal 2014-07-07 22:05 ` Alexander Baier @ 2014-07-08 4:44 ` Shiyuan 2014-07-08 4:49 ` Jai Dayal 1 sibling, 1 reply; 13+ messages in thread From: Shiyuan @ 2014-07-08 4:44 UTC (permalink / raw) To: Jai Dayal; +Cc: help-gnu-emacs I am using Magit 1.2.0(which is returned by C-h v magit-version) On Mon, Jul 7, 2014 at 2:50 PM, Jai Dayal <dayalsoap@gmail.com> wrote: > What version of Magit are you using? My magit-process shows git pulls, > commits, and pushes. > > > On Mon, Jul 7, 2014 at 3:45 PM, Alexander Baier < > alexander.baier@mailbox.org> wrote: > >> On 2014-07-07 21:20 Shiyuan wrote: >> > Thanks for the pointer, Alexander >> > *magit-process* seems not showing all git commands. I can see some `git >> > checkout` command there but the git commands corresponding to `l-l` in >> > magit is not shown in that buffer. Does magit run any git command behind >> > the scene for `l-l` too? >> >> Indeed, you are right. I would guess that magit runs something behind >> the scenes for `l l` if only for performance reasons. But I don't know >> how you would conveniently inspect the git command issued by this emacs >> command. Well, you might take a look at the magit source code, it is >> open source after all ;-) >> >> Regards, >> -- >> Alexander Baier >> >> > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-08 4:44 ` Shiyuan @ 2014-07-08 4:49 ` Jai Dayal 0 siblings, 0 replies; 13+ messages in thread From: Jai Dayal @ 2014-07-08 4:49 UTC (permalink / raw) To: Shiyuan; +Cc: help-gnu-emacs I believe I have 2.0 from the git repo. https://github.com/magit/magit On Mon, Jul 7, 2014 at 10:44 PM, Shiyuan <gshy2014@gmail.com> wrote: > I am using Magit 1.2.0(which is returned by C-h v magit-version) > > > On Mon, Jul 7, 2014 at 2:50 PM, Jai Dayal <dayalsoap@gmail.com> wrote: > >> What version of Magit are you using? My magit-process shows git pulls, >> commits, and pushes. >> >> >> On Mon, Jul 7, 2014 at 3:45 PM, Alexander Baier < >> alexander.baier@mailbox.org> wrote: >> >>> On 2014-07-07 21:20 Shiyuan wrote: >>> > Thanks for the pointer, Alexander >>> > *magit-process* seems not showing all git commands. I can see some `git >>> > checkout` command there but the git commands corresponding to `l-l` in >>> > magit is not shown in that buffer. Does magit run any git command >>> behind >>> > the scene for `l-l` too? >>> >>> Indeed, you are right. I would guess that magit runs something behind >>> the scenes for `l l` if only for performance reasons. But I don't know >>> how you would conveniently inspect the git command issued by this emacs >>> command. Well, you might take a look at the magit source code, it is >>> open source after all ;-) >>> >>> Regards, >>> -- >>> Alexander Baier >>> >>> >> > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-07 18:53 magit: What git commands have been run Shiyuan 2014-07-07 19:02 ` Alexander Baier @ 2014-07-08 18:22 ` Michael Heerdegen 2014-07-08 18:25 ` Jai Dayal 2014-07-11 5:59 ` Shiyuan 1 sibling, 2 replies; 13+ messages in thread From: Michael Heerdegen @ 2014-07-08 18:22 UTC (permalink / raw) To: help-gnu-emacs Shiyuan <gshy2014@gmail.com> writes: > Is there a way to see what git commands have just been run? Thanks. Try M-x trace-function call-process RET. Michael. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-08 18:22 ` Michael Heerdegen @ 2014-07-08 18:25 ` Jai Dayal 2014-07-11 5:59 ` Shiyuan 1 sibling, 0 replies; 13+ messages in thread From: Jai Dayal @ 2014-07-08 18:25 UTC (permalink / raw) To: Michael Heerdegen; +Cc: help-gnu-emacs That's a good solution if and only if all git commands are run through magit/emacs. On Tue, Jul 8, 2014 at 12:22 PM, Michael Heerdegen <michael_heerdegen@web.de > wrote: > Shiyuan <gshy2014@gmail.com> writes: > > > Is there a way to see what git commands have just been run? Thanks. > > Try M-x trace-function call-process RET. > > Michael. > > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: magit: What git commands have been run 2014-07-08 18:22 ` Michael Heerdegen 2014-07-08 18:25 ` Jai Dayal @ 2014-07-11 5:59 ` Shiyuan 1 sibling, 0 replies; 13+ messages in thread From: Shiyuan @ 2014-07-11 5:59 UTC (permalink / raw) To: Michael Heerdegen; +Cc: help-gnu-emacs That works. At least it shows what `l-l` does. It is also a nice trick to know about elisp. Thank you all. Shiyuan On Tue, Jul 8, 2014 at 11:22 AM, Michael Heerdegen <michael_heerdegen@web.de > wrote: > Shiyuan <gshy2014@gmail.com> writes: > > > Is there a way to see what git commands have just been run? Thanks. > > Try M-x trace-function call-process RET. > > Michael. > > > ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-07-11 5:59 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-07 18:53 magit: What git commands have been run Shiyuan 2014-07-07 19:02 ` Alexander Baier 2014-07-07 19:20 ` Shiyuan 2014-07-07 21:45 ` Alexander Baier 2014-07-07 21:50 ` Jai Dayal 2014-07-07 22:05 ` Alexander Baier 2014-07-07 22:06 ` Jai Dayal 2014-07-08 9:07 ` Alexander Baier 2014-07-08 4:44 ` Shiyuan 2014-07-08 4:49 ` Jai Dayal 2014-07-08 18:22 ` Michael Heerdegen 2014-07-08 18:25 ` Jai Dayal 2014-07-11 5:59 ` Shiyuan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).