Re: Git GUI Guesses Incorrect Language
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jul 9, 2016, 06:57 UTC
- Message-ID
- <5780A06A.8030901@kdbg.org>
- 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