[Freeswitch-users] freetdm compile error
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
Senior Software Engineer
Sangoma Technologies Inc. | NEW 100 Renfrew Drive, Suite 100, Markham ON L3R
t. 1 905 474 1990 x128 | e. moy at sangoma.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users