Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- mods/diff/hooks/entry-kinds-of/entry-kinds-of.tsAdded+17
- mods/diff/hooks/git/argv/diff-leading-args.tsAdded+20
- mods/diff/hooks/git/argv/git-child-env/git-child-env.tsAdded+8
- mods/diff/hooks/git/argv/git-child-env/index.tsAdded+3
- mods/diff/hooks/git/argv/index.tsAdded+6
- mods/diff/hooks/git/argv/no-optional-locks.tsAdded+5
- mods/diff/hooks/git/argv/pinned-lead-of/index.tsAdded+3
- mods/diff/hooks/git/argv/pinned-lead-of/pinned-lead-of.tsAdded+18
- mods/diff/hooks/git/cut-hunks/cut-hunks.tsAdded+30
- mods/diff/hooks/git/cut-hunks/index.tsAdded+3
- mods/diff/hooks/git/display-path-of/display-path-of.tsAdded+17
- mods/diff/hooks/git/display-path-of/index.tsAdded+3
- mods/diff/hooks/git/empty-file-hunks/empty-file-hunks.tsAdded+11
- mods/diff/hooks/git/empty-file-hunks/index.tsAdded+3
- mods/diff/hooks/git/failed-run/failed-run.tsAdded+11
- mods/diff/hooks/git/failed-run/index.tsAdded+3
- mods/diff/hooks/git/fetch-diff/fetch-diff.tsAdded+33
- mods/diff/hooks/git/fetch-diff/index.tsAdded+3
- mods/diff/hooks/git/fetch-file-hunks/fetch-file-hunks.tsAdded+51
- mods/diff/hooks/git/fetch-file-hunks/index.tsAdded+5
- mods/diff/hooks/git/fetch-file-hunks/is-last-of-diff/index.tsAdded+3
- mods/diff/hooks/git/fetch-file-hunks/is-last-of-diff/is-last-of-diff.tsAdded+18
- mods/diff/hooks/git/fetch-file-hunks/with-closing-line/index.tsAdded+3
- mods/diff/hooks/git/fetch-file-hunks/with-closing-line/with-closing-line.tsAdded+27
- mods/diff/hooks/git/git-backend-of.tsAdded+79
- mods/diff/hooks/git/git-base-modes/git-base-modes.tsAdded+10
- mods/diff/hooks/git/git-base-modes/index.tsAdded+3
- mods/diff/hooks/git/git-words/git-words.tsAdded+19
- mods/diff/hooks/git/git-words/index.tsAdded+3
- mods/diff/hooks/git/hunk-after.tsAdded+20
- mods/diff/hooks/git/hunk-of/hunk-of.tsAdded+17
- mods/diff/hooks/git/hunk-of/index.tsAdded+3
- mods/diff/hooks/git/index.tsAdded+20
- mods/diff/hooks/git/large-file-hunks/index.tsAdded+3
- mods/diff/hooks/git/large-file-hunks/large-file-hunks.tsAdded+11
- mods/diff/hooks/git/parse/hunk-header/hunk-header.tsAdded+5
- mods/diff/hooks/git/parse/hunk-header/index.tsAdded+3
- mods/diff/hooks/git/parse/index.tsAdded+11
- mods/diff/hooks/git/parse/is-body-line/index.tsAdded+3
- mods/diff/hooks/git/parse/is-body-line/is-body-line.tsAdded+9
- mods/diff/hooks/git/parse/is-whole-answer/index.tsAdded+3
- mods/diff/hooks/git/parse/is-whole-answer/is-whole-answer.tsAdded+12
- mods/diff/hooks/git/parse/is-whole-listing/index.tsAdded+5
- mods/diff/hooks/git/parse/is-whole-listing/is-under-utf8-ceiling/index.tsAdded+3
- mods/diff/hooks/git/parse/is-whole-listing/is-under-utf8-ceiling/is-under-utf8-ceiling.tsAdded+13
- mods/diff/hooks/git/parse/is-whole-listing/is-whole-listing.tsAdded+18
- mods/diff/hooks/git/parse/is-whole-listing/most-utf8-bytes/index.tsAdded+3
- mods/diff/hooks/git/parse/is-whole-listing/most-utf8-bytes/most-utf8-bytes.tsAdded+5
- mods/diff/hooks/git/parse/parse-file-diff.tsAdded+41
- mods/diff/hooks/git/parse/parse-numstat.tsAdded+66
1234567891011121314151617import type Git from '../git'import type { Host } from '../host'
/** * A directory's entries by name with their own kinds, through the host's * listing (no link followed); null when it cannot be listed. * * @param engine the bound host * @returns the probe (GitDeps `entryKindsOf`) */export const entryKindsOf = (engine: Host) => (dir: string): Promise<ReadonlyMap<string, Git.EntryKind> | null> => engine.listDir(dir).then( entries => new Map(entries.map(entry => [entry.name, entry.kind])), () => null, )1234567891011121314151617181920/** * The leading argv of every `git diff` the plugin runs: the config the * engine's own diff panel pins, `core.quotePath=false`, and raw-blob flags. * * Root-relative paths whatever `diff.relative` says, non-ASCII paths as * their own bytes, no optional locks, no child `git status` in a dirty * submodule, and no external diff or textconv driver even on a stats pass. */export const DIFF_LEADING_ARGS = [ '--no-optional-locks', '-c', 'diff.relative=false', '-c', 'core.quotePath=false', 'diff', '--no-ext-diff', '--no-textconv', '--ignore-submodules=dirty', '--submodule=short',] as const12345678/** * The environment laid over every git child the plugin spawns: the C * locale, so `--shortstat` and git's messages parse the same everywhere. * * Nothing else is pinned, as for the built-in panel's own diff children: * a partial clone lazy-fetches as it would for `git diff` at the prompt. */export const GIT_CHILD_ENV = { LC_ALL: 'C', LANGUAGE: '' } as const123export * from './git-child-env.js'
export * as default from '.'123456export * from './diff-leading-args.js'export * from './git-child-env'export * from './no-optional-locks.js'export * from './pinned-lead-of'
export * as default from '.'12345/** * The flag every probe carries so a read never takes the index lock from a * git the person is running. */export const NO_OPTIONAL_LOCKS = '--no-optional-locks'123export * from './pinned-lead-of.js'
export * as default from '.'123456789101112131415161718import type Types from '../../types'
/** * The argv that leads every git child once the repository is pinned: its * git directory and working tree named, as the built-in panel pins them. * * With `--git-dir` given git discovers nothing from its cwd, so a nested * repository the shell later moves into is never the one read. * * @param repository the session's pinned repository * @returns the leading argv */export const pinnedLeadOf = ( repository: Types.Repository,): readonly string[] => [ `--git-dir=${repository.gitDir}`, `--work-tree=${repository.toplevel}`,]123456789101112131415161718192021222324252627282930import Limits from '../../limits'import type Types from '../types'
/** * Hunks with their lines cut at MAX_LINES_PER_FILE in all, in order, and * whether any line was dropped. * * The one bound on every body the pane draws or attaches, whether git * printed it or the transcript carried it. * * @param hunks the hunks as parsed or reported * @returns the cut hunks and whether the cut dropped lines */export function cutHunks( hunks: readonly Types.Hunk[],): Pick<Types.FileHunks, 'hunks' | 'isTruncated'> { let budget = Limits.MAX_LINES_PER_FILE let total = 0
return { hunks: hunks.map(hunk => { const lines = hunk.lines.slice(0, budget) budget -= lines.length total += hunk.lines.length
return { ...hunk, lines } }), isTruncated: total > Limits.MAX_LINES_PER_FILE, }}123export * from './cut-hunks.js'
export * as default from '.'1234567891011121314151617import { renameDisplayOf } from '../rename-display-of'import type Types from '../types'
/** * A row's name as the built-in lists it: the path, or for a rename the one * line `git diff --stat` prints for it (renameDisplayOf). * * @param file the row * @returns the name to draw and to sort by */export function displayPathOf( file: Pick<Types.FileStat, 'path' | 'renamedFrom'>,): string { const { renamedFrom, path } = file
return renamedFrom === null ? path : renameDisplayOf(renamedFrom, path)}123export * from './display-path-of.js'
export * as default from '.'1234567891011import type Types from '../types'
/** * A body with nothing to draw: an untracked or binary row's, or a staged * file's whose index body went stale on an unborn HEAD. */export const EMPTY_FILE_HUNKS: Types.FileHunks = Object.freeze({ hunks: [], isTruncated: false, isLarge: false,})123export * from './empty-file-hunks.js'
export * as default from '.'1234567891011import type Types from '../types'
/** * What a child that never ran, was killed, or timed out reads as: exit code * -1 and no output, so a runner never rejects (GitRun). */export const FAILED_RUN: Types.RunResult = Object.freeze({ exitCode: -1, stdout: '', stderr: '',})123export * from './failed-run.js'
export * as default from '.'123456789101112131415161718192021222324252627282930313233import Probes from '../probes'import Tiers from '../tiers'import type Types from '../types'
/** * One fetch of the session's pinned repository, as the built-in panel * fetches; every git child names it so paths stay root-relative. * * Mid-merge, mid-rebase, mid-cherry-pick or mid-revert, or when git cannot * answer, it is unavailable and the caller keeps what it had. * * @param deps the host: pinned git, the repository, the file probes * @param mode what to compare against * @returns the outcome */export async function fetchDiff( deps: Types.GitDeps, mode: Types.BaseMode,): Promise<Types.FetchOutcome> { const isBusy = await Probes.isTransient( deps.entryKindsOf, deps.repository.gitDir, )
if (isBusy) { return { kind: 'unavailable' } }
const context = Tiers.fetchContextOf(deps, mode) const isBranch = mode === 'branch'
return isBranch ? Tiers.branchTier(context) : Tiers.workingTreeTier(context)}123export * from './fetch-diff.js'
export * as default from '.'123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051import Argv from '../argv'import { EMPTY_FILE_HUNKS } from '../empty-file-hunks'import Parse from '../parse'import type Types from '../types'import { isLastOfDiff } from './is-last-of-diff'import { withClosingLine } from './with-closing-line'
/** * One file's hunks against the base its row was read against, so body and * counts agree, by literal pathspec, as the built-in panel reads hunks. * * An untracked, binary or renamed row (the built-in shows a rename's * counts, never its body), or on an unborn HEAD a file edited after * staging, answers no hunks; each file but the last, a closing empty row. * * @param run runs git against the pinned repository * @param data the fetch the row belongs to * @param file the row * @returns the parsed body, or null when git failed */export async function fetchFileHunks( run: Types.GitRun, data: Types.DiffData, file: Types.FileStat,): Promise<Types.FileHunks | null> { const hasNoBody = file.isUntracked || file.isBinary || file.renamedFrom !== null || data.stalePaths.includes(file.path)
if (hasNoBody) { return EMPTY_FILE_HUNKS }
const { exitCode, stdout } = await run([ '--literal-pathspecs', ...Argv.DIFF_LEADING_ARGS, data.baseRef, '--', file.path, ])
if (exitCode !== 0) { return null }
const body = Parse.parseFileDiff(stdout)
return isLastOfDiff(data, file) ? body : withClosingLine(body)}12345export * from './fetch-file-hunks.js'export * from './is-last-of-diff'export * from './with-closing-line'
export * as default from '.'123export * from './is-last-of-diff.js'
export * as default from '.'123456789101112131415161718import type Types from '../../types'
/** * Whether a row is the last file of the whole diff git printed for its * fetch: the last tracked row, the untracked ones being listed apart. * * The built-in reads that diff in one piece and trims its end, so the last * file alone has no closing empty line to draw (withClosingLine). * * @param data the fetch the row belongs to * @param file the row * @returns whether git printed this file last */export const isLastOfDiff = ( data: Types.DiffData, file: Types.FileStat,): boolean => data.files.filter(row => !row.isUntracked).at(-1)?.path === file.path123export * from './with-closing-line.js'
export * as default from '.'123456789101112131415161718192021222324252627import type Types from '../../types'
/** * A parsed body with one empty context row after its last hunk's lines, as * the built-in panel draws the empty line that closes git's output. * * The built-in reads every file's diff in one piece: the newline before the * next file's header parses as a context line of the file before it. A * body with no hunk, or one already cut, gains nothing. * * @param body the parsed body * @returns the body, its last hunk one row longer */export function withClosingLine(body: Types.FileHunks): Types.FileHunks { const last = body.hunks.at(-1) const isClosed = last !== undefined && !body.isTruncated
return isClosed ? { ...body, hunks: [ ...body.hunks.slice(0, -1), { ...last, lines: [...last.lines, ' '] }, ], } : body}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879import type Backend from '../backend'import Limits from '../limits'import Argv from './argv'import { FAILED_RUN } from './failed-run'import { fetchDiff } from './fetch-diff'import { fetchFileHunks } from './fetch-file-hunks'import { GIT_BASE_MODES } from './git-base-modes'import { GIT_WORDS } from './git-words'import Probes from './probes'import type Types from './types'
/** * The git backend over the session's directory: the repository read with * one `rev-parse` in that directory, then every child pinned to it. * * Each child runs with `--git-dir`, `--work-tree` and cwd the top, under * the C locale and the fetch's timeout (the built-in's execPinnedGit); the * first fetch reads the paths dirty then, once (Probes.dirtyPathsOf). * * @param host the bound host's runner and probes * @returns the backend, or null outside a git working tree */export async function gitBackendOf( host: Backend.BackendHost,): Promise<Backend.Backend | null> { const runOf = (pinned: Types.Repository | null): Types.GitRun => async argv => { try { return await host.run( ['git', ...(pinned ? Argv.pinnedLeadOf(pinned) : []), ...argv], { timeoutMs: Limits.GIT_TIMEOUT_MS, env: Argv.GIT_CHILD_ENV, ...(pinned && { cwd: pinned.toplevel }), }, ) } catch { return FAILED_RUN } }
const repository = await Probes.repositoryOf(runOf(null))
if (!repository) { return null }
const run = runOf(repository)
let baseline: Promise<ReadonlySet<string> | null> | null = null
const depsOf = (dirty: ReadonlySet<string> | null): Types.GitDeps => ({ run, repository, mtimeOf: host.mtimeOf, entryKindsOf: host.entryKindsOf, sessionStartMs: host.sessionStartMsOf(), baseline: dirty, onBranchBase: host.onBranchBase, })
return { repository, baseModes: GIT_BASE_MODES, words: GIT_WORDS, fetchDiff: async mode => { baseline ??= Probes.dirtyPathsOf(run)
return fetchDiff(depsOf(await baseline), mode) }, fetchFileHunks: (data, file) => fetchFileHunks(run, data, file), headKeyOf: () => Probes.headKeyOf( { ...depsOf(null), readFile: host.readFile }, repository, ), }}12345678910import type Types from '../types'
/** * The comparisons git offers, in picker order: all three. */export const GIT_BASE_MODES: readonly Types.BaseMode[] = Object.freeze([ 'session', 'uncommitted', 'branch',])123export * from './git-base-modes.js'
export * as default from '.'12345678910111213141516171819import type Backend from '../../backend'
/** * The pane's git words, unquoted as DiffDetailView words them. * * Compared with HEAD, read by `git diff`, untracked files listed by git and * staged with `git add :/…`. */export const GIT_WORDS: Backend.BackendWords = Object.freeze({ base: 'HEAD', diffCommand: 'git diff', lister: 'git', untrackedNoteOf: (path: string, isPasteable: boolean) => [ 'New file not yet staged.', isPasteable ? `Run \`git add :/${path}\` to see line counts.` : 'Stage it with git add to see line counts.', ],})123export * from './git-words.js'
export * as default from '.'1234567891011121314151617181920import { countOf } from '../count-of'import type { Hunk } from './types'
/** * The hunk less its first so many lines, its starts moved past them so * the numbers of the lines kept stay right; whole at 0. * * @param hunk the hunk, its lines body lines only * @param count how many leading lines to drop * @returns the rest of the hunk */export function hunkAfter(hunk: Hunk, count: number): Hunk { const dropped = hunk.lines.slice(0, count)
return { oldStart: hunk.oldStart + countOf(dropped, line => !line.startsWith('+')), newStart: hunk.newStart + countOf(dropped, line => !line.startsWith('-')), lines: hunk.lines.slice(count), }}1234567891011121314151617import type Types from '../types'
/** * One hunk from its header's captured starts and its body lines. * * @param starts the `old` and `new` groups of HUNK_HEADER, when it matched * @param lines the body lines after the header * @returns the hunk */export const hunkOf = ( starts: Record<string, string> | undefined, lines: readonly string[],): Types.Hunk => ({ oldStart: Number(starts?.old), newStart: Number(starts?.new), lines,})123export * from './hunk-of.js'
export * as default from '.'1234567891011121314151617181920export * from './argv'export * from './cut-hunks'export * from './display-path-of'export * from './empty-file-hunks'export * from './failed-run'export * from './fetch-diff'export * from './fetch-file-hunks'export * from './git-backend-of.js'export * from './git-base-modes'export * from './git-words'export * from './hunk-after.js'export * from './hunk-of'export * from './large-file-hunks'export * from './parse'export * from './probes'export * from './rename-display-of'export * from './tiers'export * from './types'
export * as default from '.'123export * from './large-file-hunks.js'
export * as default from '.'1234567891011import type Types from '../types'
/** * The body of a file whose diff text passed MAX_DIFF_BYTES: no hunks, and * the pane says the file is too large. */export const LARGE_FILE_HUNKS: Types.FileHunks = Object.freeze({ hunks: [], isTruncated: false, isLarge: true,})12345/** * A unified diff's hunk header, `@@ -old[,n] +new[,n] @@`, its two starts * captured as `old` and `new`. */export const HUNK_HEADER = /^@@ -(?<old>\d+)(?:,\d+)? \+(?<new>\d+)(?:,\d+)? @@/123export * from './hunk-header.js'
export * as default from '.'1234567891011export * from './hunk-header'export * from './is-body-line'export * from './is-whole-answer'export * from './is-whole-listing'export * from './parse-file-diff.js'export * from './parse-numstat.js'export * from './parse-shortstat.js'export * from './rename-records'export * from './shortstat-pattern'
export * as default from '.'123export * from './is-body-line.js'
export * as default from '.'123456789/** * Whether a line after a hunk header is a body line (added, removed or * context) rather than a note such as `\ No newline at end of file`. * * @param line one line of `git diff` output * @returns whether it starts with `+`, `-` or a space */export const isBodyLine = (line: string) => line.startsWith('+') || line.startsWith('-') || line.startsWith(' ')123export * from './is-whole-answer.js'
export * as default from '.'123456789101112import type Types from '../../types'import { isWholeListing } from '../is-whole-listing'
/** * Whether a `-z` git child both succeeded and answered a whole listing, * so its stdout may be parsed (isWholeListing). * * @param result what the child left * @returns whether to parse it */export const isWholeAnswer = (result: Types.RunResult) => result.exitCode === 0 && isWholeListing(result.stdout)12345export * from './is-under-utf8-ceiling'export * from './is-whole-listing.js'export * from './most-utf8-bytes'
export * as default from '.'123export * from './is-under-utf8-ceiling.js'
export * as default from '.'12345678910111213import { MOST_UTF8_BYTES } from '../most-utf8-bytes'
/** * Whether the text's UTF-8 encoding stays under a byte count, encoding it * only when its length alone cannot already say so. * * @param text the text * @param ceiling the byte count it must stay under * @returns whether it is under */export const isUnderUtf8Ceiling = (text: string, ceiling: number) => text.length * MOST_UTF8_BYTES < ceiling || new TextEncoder().encode(text).length < ceiling123456789101112131415161718import Limits from '../../../limits'import { isUnderUtf8Ceiling } from './is-under-utf8-ceiling'import { MOST_UTF8_BYTES } from './most-utf8-bytes'
/** * Whether a listing arrived whole, so no record was cut or lost. * * Every record is terminated (NUL for `-z` listings, a newline for line * records) and the text is short of the host's output cap by MOST_UTF8_BYTES, * what a cut inside a multi-byte character can cost the decoded text. * * @param stdout the listing as `$.process.run` returned it * @param terminator what ends every record; NUL when absent * @returns whether it can be parsed as the whole answer */export const isWholeListing = (stdout: string, terminator = '\0') => (stdout === '' || stdout.endsWith(terminator)) && isUnderUtf8Ceiling(stdout, Limits.HOST_OUTPUT_CAP_BYTES - MOST_UTF8_BYTES)123export * from './most-utf8-bytes.js'
export * as default from '.'12345/** * The most bytes one UTF-16 code unit takes in UTF-8, and so both the * bound on a text's encoded length and the most a cut character drops. */export const MOST_UTF8_BYTES = 31234567891011121314151617181920212223242526272829303132333435363738394041import Limits from '../../limits'import { cutHunks } from '../cut-hunks'import { hunkOf } from '../hunk-of'import { LARGE_FILE_HUNKS } from '../large-file-hunks'import type Types from '../types'import { HUNK_HEADER } from './hunk-header'import { isBodyLine } from './is-body-line'
/** * One file's unified `git diff` output as hunks, the body cut at * MAX_LINES_PER_FILE lines in all, as the built-in panel parses one file. * * Past MAX_DIFF_BYTES there are no hunks and `isLarge` is set; everything * before the first hunk header is the file's header. * * @param stdout the command's standard output for that one path * @returns the parsed body */export function parseFileDiff(stdout: string): Types.FileHunks { if (stdout.length > Limits.MAX_DIFF_BYTES) { return LARGE_FILE_HUNKS }
const rows = stdout.split('\n')
const headerRows = rows.flatMap((row, at) => HUNK_HEADER.test(row) ? [at] : [], )
return { ...cutHunks( headerRows.map((at, ordinal) => hunkOf( HUNK_HEADER.exec(rows[at] ?? '')?.groups, rows.slice(at + 1, headerRows[ordinal + 1]).filter(isBodyLine), ), ), ), isLarge: false, }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566import type Types from '../types'import { RENAME_RECORDS } from './rename-records'
/** * `git diff --numstat -z` output as totals over every row and the first * rows up to the cap; a binary file (`-` counts) is a 0/0 row marked binary. * * A record is `<added>\t<removed>\t<path>` ended by NUL, the path raw; a * rename is `<added>\t<removed>\t` then the old and the new path as the * next two records, kept as one row under the new path. * * @param stdout the command's standard output * @param maxFiles how many rows to keep * @returns the totals and the kept rows */export function parseNumstat( stdout: string, maxFiles: number,): Types.NumstatResult { const files: Types.FileStat[] = [] const stats = { filesCount: 0, linesAdded: 0, linesRemoved: 0 } const records = stdout.split('\0')
let at = 0
while (at < records.length) { const [addedField, removedField, ...pathFields] = (records[at] ?? '').split( '\t', )
const inline = pathFields.join('\t') const isRename = pathFields.length === 1 && inline === '' const renamedFrom = isRename ? (records[at + 1] ?? null) : null const path = isRename ? (records[at + 2] ?? '') : inline at += isRename ? RENAME_RECORDS : 1
const isRow = addedField !== undefined && removedField !== undefined && path !== ''
if (!isRow) { continue }
const isBinary = addedField === '-' || removedField === '-' const added = isBinary ? 0 : Number(addedField) || 0 const removed = isBinary ? 0 : Number(removedField) || 0
stats.filesCount += 1 stats.linesAdded += added stats.linesRemoved += removed
if (files.length < maxFiles) { files.push({ path, renamedFrom, added, removed, isBinary, isUntracked: false, isPreSession: false, }) } }
return { stats, files }}mods/diff/hooks/entry-kinds-of/entry-kinds-of.tsAdded+17
mods/diff/hooks/git/argv/diff-leading-args.tsAdded+20
mods/diff/hooks/git/argv/git-child-env/git-child-env.tsAdded+8
mods/diff/hooks/git/argv/git-child-env/index.tsAdded+3
mods/diff/hooks/git/argv/index.tsAdded+6
mods/diff/hooks/git/argv/no-optional-locks.tsAdded+5
mods/diff/hooks/git/argv/pinned-lead-of/index.tsAdded+3
mods/diff/hooks/git/argv/pinned-lead-of/pinned-lead-of.tsAdded+18
mods/diff/hooks/git/cut-hunks/cut-hunks.tsAdded+30
mods/diff/hooks/git/cut-hunks/index.tsAdded+3
mods/diff/hooks/git/display-path-of/display-path-of.tsAdded+17
mods/diff/hooks/git/display-path-of/index.tsAdded+3
mods/diff/hooks/git/empty-file-hunks/empty-file-hunks.tsAdded+11
mods/diff/hooks/git/empty-file-hunks/index.tsAdded+3
mods/diff/hooks/git/failed-run/failed-run.tsAdded+11
mods/diff/hooks/git/failed-run/index.tsAdded+3
mods/diff/hooks/git/fetch-diff/fetch-diff.tsAdded+33
mods/diff/hooks/git/fetch-diff/index.tsAdded+3
mods/diff/hooks/git/fetch-file-hunks/fetch-file-hunks.tsAdded+51
mods/diff/hooks/git/fetch-file-hunks/index.tsAdded+5
mods/diff/hooks/git/fetch-file-hunks/is-last-of-diff/index.tsAdded+3
mods/diff/hooks/git/fetch-file-hunks/is-last-of-diff/is-last-of-diff.tsAdded+18
mods/diff/hooks/git/fetch-file-hunks/with-closing-line/index.tsAdded+3
mods/diff/hooks/git/fetch-file-hunks/with-closing-line/with-closing-line.tsAdded+27
mods/diff/hooks/git/git-backend-of.tsAdded+79
mods/diff/hooks/git/git-base-modes/git-base-modes.tsAdded+10
mods/diff/hooks/git/git-base-modes/index.tsAdded+3
mods/diff/hooks/git/git-words/git-words.tsAdded+19
mods/diff/hooks/git/git-words/index.tsAdded+3
mods/diff/hooks/git/hunk-after.tsAdded+20
mods/diff/hooks/git/hunk-of/hunk-of.tsAdded+17
mods/diff/hooks/git/hunk-of/index.tsAdded+3
mods/diff/hooks/git/index.tsAdded+20
mods/diff/hooks/git/large-file-hunks/index.tsAdded+3
mods/diff/hooks/git/large-file-hunks/large-file-hunks.tsAdded+11
mods/diff/hooks/git/parse/hunk-header/hunk-header.tsAdded+5
mods/diff/hooks/git/parse/hunk-header/index.tsAdded+3
mods/diff/hooks/git/parse/index.tsAdded+11
mods/diff/hooks/git/parse/is-body-line/index.tsAdded+3
mods/diff/hooks/git/parse/is-body-line/is-body-line.tsAdded+9
mods/diff/hooks/git/parse/is-whole-answer/index.tsAdded+3
mods/diff/hooks/git/parse/is-whole-answer/is-whole-answer.tsAdded+12
mods/diff/hooks/git/parse/is-whole-listing/index.tsAdded+5
mods/diff/hooks/git/parse/is-whole-listing/is-under-utf8-ceiling/index.tsAdded+3
mods/diff/hooks/git/parse/is-whole-listing/is-under-utf8-ceiling/is-under-utf8-ceiling.tsAdded+13
mods/diff/hooks/git/parse/is-whole-listing/is-whole-listing.tsAdded+18
mods/diff/hooks/git/parse/is-whole-listing/most-utf8-bytes/index.tsAdded+3
mods/diff/hooks/git/parse/is-whole-listing/most-utf8-bytes/most-utf8-bytes.tsAdded+5
mods/diff/hooks/git/parse/parse-file-diff.tsAdded+41
mods/diff/hooks/git/parse/parse-numstat.tsAdded+66