git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Sixt <j6t@kdbg.org>
To: Sunjay Varma <varma.sunjay@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git GUI Guesses Incorrect Language
Date: Sat, 9 Jul 2016 08:57:46 +0200	[thread overview]
Message-ID: <5780A06A.8030901@kdbg.org> (raw)
In-Reply-To: <CAJaQC31Su7NKd46cD81HE2OvC=O09aon12k8HFV29def4BAYfw@mail.gmail.com>

Am 09.07.2016 um 06:57 schrieb Sunjay Varma:
> Just before the first line of my code, it says "C++ source, ASCII text".
> That file is a JavaScript/ES6 file. The ".jsx" file extension
> signifies that it may also contain Facebook's special JSX syntax
> (HTML-like syntax in JavaScript).

Git-gui just delegates to the 'file' command. What does

   file src/models/pathPlan.jsx src/services/ai.jsx

report? If that guesses wrongly in the same way, then the authors of the 
file command are the right address for your complaint.

-- Hannes


  reply	other threads:[~2016-07-09  6:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-09  4:57 Git GUI Guesses Incorrect Language Sunjay Varma
2016-07-09  6:57 ` Johannes Sixt [this message]
2016-07-09  6:59   ` Sunjay Varma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5780A06A.8030901@kdbg.org \
    --to=j6t@kdbg.org \
    --cc=git@vger.kernel.org \
    --cc=varma.sunjay@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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).