From: Jonathan del Strother Date: Fri, 06 Jun 2008 12:30:44 GMT Subject: Re: How to compare different files in different branches Message-ID: <57518fd10806060530k7a15f79fh1823afef2a747233@mail.gmail.com> In-Reply-To: <20080606122421.GA1521@denkbrett.schottelius.org> On Fri, Jun 6, 2008 at 1:24 PM, Nico -telmich- Schottelius wrote: > Hello! > > I want to compare 'configure.in' from the master branch with > 'configure.ac' from the gpm-2-dev branch. > > What I tried: > > % git-diff master..gpm-2-dev configure.ac > fatal: ambiguous argument 'configure.ac': unknown revision or path not > in the working tree. > Use '--' to separate paths from revisions > > # ok, correct, there is no configure.ac in master > # But not what I want. > > % git-diff master..gpm-2-dev configure.in > > # shows that the file does not exist in gpm-2-dev. Correct. > # But not what I want. > How about git diff master:configure.in gm-2-dev:configure.ac ?