[Freeswitch-users] freetdm compile error

Moises Silva moises.silva at gmail.com
Thu Sep 9 21:51:49 PDT 2010

On Thu, Sep 9, 2010 at 7:38 PM, Brian May <brian at microcomaustralia.com.au>wrote:

> On 10 September 2010 07:58, Moises Silva <moises.silva at gmail.com> wrote:
> > Something is wrong in your box. That file is not committed.
> Hmm. Curious, looks like git had me confused:
> brian at aquitard:~/freeswitch$ git status
> # On branch master
> nothing to commit (working directory clean)
> brian at aquitard:~/freeswitch$ ls -l ./libs/freetdm/Makefile.in
> ls: cannot access ./libs/freetdm/Makefile.in: No such file or directory
> brian at aquitard:~/freeswitch$ echo hello > ./libs/freetdm/Makefile.in
> brian at aquitard:~/freeswitch$ git diff ./libs/freetdm/Makefile.in
> brian at aquitard:~/freeswitch$
> I expected to see either (a) an error or (b) a diff representing a new
> file, but got an empty diff instead.
> Is there any reliable way of finding out if a file is committed or not
> under git?

>From the top FreeSWITCH directory:

git ls-files libs/freetdm/Makefile.in

If there is no output, means is not tracked. You can add --error-unmatch if
you want to see an error on files that are not tracked.

git ls-files libs/freetdm/Makefile.in --error-unmatch

Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R
9R6 Canada
t. 1 905 474 1990 x128 | e. moy at sangoma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100910/25fea825/attachment.html 

More information about the FreeSWITCH-users mailing list