GitGraph: Fetch changes on a commit based on current commit and its left most parent commit

This commit is contained in:
lxsang
2022-07-06 18:30:59 +02:00
parent cb76136de3
commit 60639760bd
8 changed files with 13 additions and 10 deletions

View File

@ -5,15 +5,16 @@ The visualization can be easily integrated to an AntOS application, example:
```typescript
const graph = new API.LibGitGraph({
target: this.find("git-graph")
target: this.find("git-graph");
});
graph.on_open_diff = (files) => {
console.log(files);
}
graph.base_dir = "home://workspace/repo-git";
graph.base_dir = "home://workspace/repo-git".asFileHandle();
```
## Change logs:
- v0.1.4-b: Fetch changes on a commit based on current commit and its left most parent commit
- v0.1.3-b: Support open Git repo with open with dialog
- v0.1.2-b: fix init bug
- v0.1.1-b: add class to container element

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"author": "Dany LE",
"email": "contact@iohub.dev"
},
"version":"0.1.3-b",
"version":"0.1.4-b",
"category":"Development",
"iconclass":"bi bi-git",
"mimes":["dir"],