Browse Source

Closes #866. Adds ''-textconv' to show to support .gitattributes.

main
Martin Campbell 4 years ago
committed by Eric Amodio
parent
commit
e5a338c0e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/git.ts

+ 1
- 1
src/git/git.ts View File

@ -1155,7 +1155,7 @@ export namespace Git {
const args = ref.endsWith(':') ? `${ref}./${file}` : `${ref}:./${file}`;
try {
const data = await git<TOut>(opts, 'show', args, '--');
const data = await git<TOut>(opts, 'show', '--textconv', args, '--');
return data;
} catch (ex) {
const msg: string = ex?.toString() ?? '';

Loading…
Cancel
Save