Re: git-contacts questions
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Oct 29, 2013, 10:35 UTC
- Message-ID
- <CAMP44s2KdHPH-UaSwdiJtT8WNo7uT9K_ArXwqHhCryPRsX1qjA@mail.gmail.com>
- In-Reply-To
- <CAHGBnuP6nyTCGGNntvWVYAtxNX9xgt6=F3HheiEUcPU_9TP-1g@mail.gmail.com>
On Tue, Oct 29, 2013 at 3:12 AM, Sebastian Schuberth <sschuberth@gmail.com> wrote:
Show 15 quoted lines
> On Tue, Oct 29, 2013 at 9:57 AM, Felipe Contreras > <felipe.contreras@gmail.com> wrote: > >>> 1) Passing just "HEAD" as a committish like in "git contacts HEAD" >>> does not output anything for me, but using the SHA1 for HEAD does >>> neither. My HEAD commit does not add any files, but only modifies >>> previously existing files, so I would have expected some output. In >>> case it turns out to be correct to have no output in my case, could we >>> probably say that in some message to the user? >> >> It should be HEAD^, or -1, like with 'git format-patch'. > > Oh, that's pretty much unexpected. Wouldn't it be much more natural if > I had to specify the commit(s) that introduce(s) the changes that I > want others to look at?
Yeah, that's exactly what you are doing. How do you tell 'git log' to show you certain changes?
Show 12 quoted lines
>> You can also try git-related instead[1]. >> >> [1] https://github.com/felipec/git-related > > I just did very quickly (with Ruby 1.8.7) and I get: > > $ git related b0783baacd20be7007df40cf274985c4863d63fb > C:/Program Files (x86)/Git/libexec/git-core/git-related:309:in > `popen': can't convert Array into String (TypeError) > from C:/Program Files > (x86)/Git/libexec/git-core/git-related:309:in `from_rev_args' > from C:/Program Files (x86)/Git/libexec/git-core/git-related:345
Fixed.
-- Felipe Contreras