mirror of
https://github.com/kahole/edamagit.git
synced 2024-09-11 07:15:31 +03:00
Compare commits
2 Commits
7d575c50be
...
4fff85a512
Author | SHA1 | Date | |
---|---|---|---|
|
4fff85a512 | ||
|
1e3efab596 |
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## [0.6.55]
|
||||
- Fixes loss of fold functionality with CommitDetail due to overwriting the registered view
|
||||
|
||||
## [0.6.54]
|
||||
- Fixes "visit change" for commit and stash detail views
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "magit",
|
||||
"version": "0.6.54",
|
||||
"version": "0.6.55",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "magit",
|
||||
"version": "0.6.54",
|
||||
"version": "0.6.55",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vscode/iconv-lite-umd": "^0.7.0",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": {
|
||||
"name": "Kristian Andersen Hole"
|
||||
},
|
||||
"version": "0.6.54",
|
||||
"version": "0.6.55",
|
||||
"engines": {
|
||||
"vscode": "^1.50.0"
|
||||
},
|
||||
|
@ -148,5 +148,7 @@ export async function visitCommit(repository: MagitRepository, commitHash: strin
|
||||
const commit: MagitCommit = { hash: commitHash, message: '', parents: [] };
|
||||
|
||||
const uri = CommitDetailView.encodeLocation(repository, commit.hash);
|
||||
return ViewUtils.showView(uri, new CommitDetailView(uri, commit, header.stdout, stashToMagitChanges(repository, nameStatus.stdout, diffs.stdout)));
|
||||
const commitDetailView = ViewUtils.createOrUpdateView(repository, uri, () => new CommitDetailView(uri, commit, header.stdout, stashToMagitChanges(repository, nameStatus.stdout, diffs.stdout)));
|
||||
|
||||
return ViewUtils.showView(uri, commitDetailView);
|
||||
}
|
Loading…
Reference in New Issue
Block a user