Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

git-diff-from

bluelovers96ISC1.1.40TypeScript support: included

git diff-tree

commit, diff, diff-tree, git, git diff-tree, hash, log, range, revision, revision range

readme

git-diff-from

git diff-tree
import * as path from "path";
import gitDiffFrom from 'git-diff-from';

let r = gitDiffFrom(5, null, {
    cwd: path.resolve('../../../test/demo/git1/sub'),
});

console.log(r);
[ { status: 'D',
    path: '2.txt',
    fullpath: 'D:/Users/Documents/The Project/nodejs-yarn/ws-git/test/demo/git1/2.txt' },
  { status: 'M',
    path: '3.txt',
    fullpath: 'D:/Users/Documents/The Project/nodejs-yarn/ws-git/test/demo/git1/3.txt' },
  { status: 'A',
    path: 'sub/sub.txt',
    fullpath: 'D:/Users/Documents/The Project/nodejs-yarn/ws-git/test/demo/git1/sub/sub.txt' },
  { status: 'A',
    path: 'カリギュラ.txt',
    fullpath: 'D:/Users/Documents/The Project/nodejs-yarn/ws-git/test/demo/git1/カリギュラ.txt' },
  { status: 'A',
    path: '卡利古拉.txt',
    fullpath: 'D:/Users/Documents/The Project/nodejs-yarn/ws-git/test/demo/git1/卡利古拉.txt' } ]

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.1.40 (2024-03-09)

Note: Version bump only for package git-diff-from

1.1.39 (2024-03-09)

BREAKING CHANGES

  • update cross-spawn-extra

📌 Dependencies

  • update cross-spawn-extra (7c6738b)

1.1.38 (2024-02-03)

🔖 Miscellaneous

1.1.37 (2022-10-28)

📌 Dependencies

1.1.36 (2022-10-02)

🔖 Miscellaneous

1.1.35 (2022-10-01)

📌 Dependencies

1.1.34 (2022-09-30)

📚 Documentation

📌 Dependencies

1.1.33 (2022-08-27)

📦 Code Refactoring

  • update configuration and import (6a4d6d4)

1.1.32 (2022-07-27)

Note: Version bump only for package git-diff-from

1.1.31 (2022-07-26)

Note: Version bump only for package git-diff-from

1.1.30 (2022-07-14)

📦 Code Refactoring

  • { crossSpawnOutput, stripAnsi } (287760c)

1.1.29 (2022-03-29)

Note: Version bump only for package git-diff-from

1.1.28 (2022-02-21)

Note: Version bump only for package git-diff-from

1.1.27 (2022-02-15)

📦 Code Refactoring

🔖 Miscellaneous

1.1.26 (2022-02-15)

♻️ Chores

1.1.25 (2021-12-15)

🔖 Miscellaneous

1.1.24 (2021-08-29)

♻️ Chores

1.1.23 (2021-07-20)

🛠 Build System

♻️ Chores

  • update deps and use tslib (910fc69)

1.1.22 (2021-05-30)

♻️ Chores

1.1.21 (2021-02-12)

🔖 Miscellaneous

1.1.20 (2021-02-12)

♻️ Chores

1.1.19 (2020-07-19)

♻️ Chores

1.1.18 (2020-07-01)

🔖 Miscellaneous

1.1.17 (2020-06-16)

🐛 Bug Fixes

1.1.16 (2020-06-15)

Note: Version bump only for package git-diff-from

1.1.15 (2020-06-15)

Note: Version bump only for package git-diff-from

1.1.14 (2020-06-10)

Note: Version bump only for package git-diff-from

1.1.13 (2020-06-09)

Note: Version bump only for package git-diff-from

1.1.12 (2020-06-08)

Note: Version bump only for package git-diff-from

1.1.11 (2020-06-08)

Note: Version bump only for package git-diff-from

1.1.10 (2020-06-08)

Note: Version bump only for package git-diff-from

1.1.9 (2020-06-06)

Note: Version bump only for package git-diff-from

1.1.8 (2020-06-05)

Note: Version bump only for package git-diff-from

1.1.7 (2020-06-04)

Note: Version bump only for package git-diff-from

1.1.6 (2020-06-04)

Features