git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git GUI Guesses Incorrect Language

From
SVSunjay Varma <varma.sunjay@gmail.com>
Date
Jul 9, 2016, 06:59 UTC
Message-ID
<CAJaQC330QPR9h_iZW1amRxkJ8WGnoujdKA8fN49OWdMKUp6gTw@mail.gmail.com>
In-Reply-To
<5780A06A.8030901@kdbg.org>
Seems like a file command issue then.
Here's the 'file' command output:
  $ file src/models/pathPlan.jsx src/services/ai.jsx
  src/models/pathPlan.jsx: C++ source, ASCII text
  src/services/ai.jsx:     ASCII text
Sunjay
On Sat, Jul 9, 2016 at 2:57 AM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 17 quoted lines
> 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
>
Previous: Johannes Sixt
Message 3 of 3 in “Git GUI Guesses Incorrect Language”
  1. Sunjay VarmaJul 9, 2016
  2. Johannes SixtJul 9, 2016
  3. Sunjay VarmaJul 9, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.