-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace git command with git extension api (1/2) (#410)
* Very first try to get rid of the iframe * Resolve redirects to properly match server url * Other improvements * removeTag command and use it in TagRef component * recovered selection * Replaced several git commands with git extension API * Updated CHANGELOG.md * Version 0.5.0 * corrected the use of createGitService * Slightly amended repo index * provide repository picker for first use * Provide a default style when debugging in external browser * Removed workspace StateStore while applying more git extension features * getGitRoots is no longer needed in IGitService * Corrected removeTag command * Fixed doAction to match new gitServiceFactory * getCommit does not require id as argument * Moved ISettings to server source (selectedBranchName => branchName) * Fixed Git History command does nothing when reopening * Corrected ISettings property branchName * Include upstream url and type when calling getBranches * Display external link to bitbucket or github when upstream is defined for branch * Fixed dialog button fired twice when pressing enter key * Slightly amended ui and debug logging
- Loading branch information
ole
authored
Feb 8, 2020
1 parent
0e19aaf
commit e8becc4
Showing
40 changed files
with
353 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1 @@ | ||
export * from '../src/types'; | ||
import { BranchSelection } from '../src/types'; | ||
// export interface IUri { | ||
// /** | ||
// * Path is the `/some/path` part of `http://www.msft.com/some/path?query#fragment`. | ||
// */ | ||
// readonly path: string; | ||
|
||
// /** | ||
// * The string representing the corresponding file system path of this Uri. | ||
// * | ||
// * Will handle UNC paths and normalize windows drive letters to lower-case. Also | ||
// * uses the platform specific path separator. Will *not* validate the path for | ||
// * invalid characters and semantics. Will *not* look at the scheme of this Uri. | ||
// */ | ||
// readonly fsPath: string; | ||
// } | ||
|
||
// export enum RefType { | ||
// Head, | ||
// RemoteHead, | ||
// Tag | ||
// } | ||
// export interface Ref { | ||
// type: RefType; | ||
// name?: string; | ||
// } | ||
// export interface Remote { | ||
// name: string; | ||
// url: string; | ||
// } | ||
|
||
// export interface BranchType extends Ref { | ||
// upstream?: string; | ||
// ahead?: number; | ||
// behind?: number; | ||
// } | ||
|
||
// export interface CommittedFile { | ||
// uri: IUri; | ||
// oldUri?: IUri; | ||
// oldRelativePath?: string; | ||
// relativePath: string; | ||
// status: Status; | ||
// additions?: number; | ||
// deletions?: number; | ||
// } | ||
|
||
// ///////////////////////////////////////////////////////// | ||
// export interface ActionedDetails { | ||
// name: string; | ||
// email: string; | ||
// date: Date; | ||
// localisedDate: string; | ||
// } | ||
// export interface LogEntries { | ||
// items: LogEntry[]; | ||
// count: number; | ||
// } | ||
// export interface LogEntry { | ||
// author?: ActionedDetails; | ||
// committer?: ActionedDetails; | ||
// parents: Hash[]; | ||
// hash: Hash; | ||
// tree: Hash; | ||
// refs: Ref[]; | ||
// subject: string; | ||
// body: string; | ||
// notes: string; | ||
// committedFiles?: CommittedFile[]; | ||
// isLastCommit?: boolean; | ||
// isThisLastCommitMerged?: boolean; | ||
// } | ||
|
||
// export interface CherryPickEntry { | ||
// branch: string; | ||
// hash: string; | ||
// } | ||
|
||
// export interface Hash { | ||
// full: string; | ||
// short: string; | ||
// } | ||
|
||
// export enum Status { | ||
// Modified, | ||
// Added, | ||
// Deleted, | ||
// Renamed, | ||
// Copied | ||
// } | ||
|
||
// export enum Branch { | ||
// All = 1, | ||
// Current = 2 | ||
// } | ||
export interface ISettings { | ||
selectedBranchType?: BranchSelection; | ||
selectedBranchName?: string; | ||
pageIndex?: number; | ||
searchText?: string; | ||
file?: string; | ||
id?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.