@ -85,8 +87,8 @@ export class ShowQuickCommitFileDetailsCommand extends ActiveEditorCachedCommand
if(args.goBackCommand===undefined){
// Create a command to get back to the commit details
args.goBackCommand=newCommandQuickPickItem({
label:`go back \u21A9`,
description:`\u00a0 \u2014 \u00a0\u00a0 to details of \u00a0$(git-commit) ${shortSha}`
label:`go back ${GlyphChars.ArrowBack}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} to details of ${GlyphChars.Space}$(git-commit) ${shortSha}`
},Commands.ShowQuickCommitDetails,[
newGitUri(args.commit.uri,args.commit),
{
@ -98,8 +100,8 @@ export class ShowQuickCommitFileDetailsCommand extends ActiveEditorCachedCommand
// Create a command to get back to where we are right now
constcurrentCommand=newCommandQuickPickItem({
label:`go back \u21A9`,
description:`\u00a0 \u2014 \u00a0\u00a0 to details of \u00a0$(file-text) ${path.basename(args.commit.fileName)} in \u00a0$(git-commit) ${shortSha}`
label:`go back ${GlyphChars.ArrowBack}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} to details of ${GlyphChars.Space}$(file-text) ${path.basename(args.commit.fileName)} in ${GlyphChars.Space}$(git-commit) ${shortSha}`
@ -49,8 +51,8 @@ export class ShowQuickFileHistoryCommand extends ActiveEditorCachedCommand {
// Create a command to get back to where we are right now
constcurrentCommand=newCommandQuickPickItem({
label:`go back \u21A9`,
description:`\u00a0 \u2014 \u00a0\u00a0 to history of \u00a0$(file-text) ${path.basename(pick.commit.fileName)}${gitUri.sha?` from \u00a0$(git-commit) ${gitUri.shortSha}`:''}`
label:`go back ${GlyphChars.ArrowBack}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} to history of ${GlyphChars.Space}$(file-text) ${path.basename(pick.commit.fileName)}${gitUri.sha?` from ${GlyphChars.Space}$(git-commit) ${gitUri.shortSha}`:''}`
constresult=awaitwindow.showWarningMessage(`Apply stashed changes '${message}' to your working tree?`,{title:'Yes, delete after applying'}asMessageItem,{title:'Yes'}asMessageItem,{title:'No',isCloseAffordance: true}asMessageItem);
@ -174,7 +175,7 @@ export class CommitDetailsQuickPick {
items.splice(index++,0,newCommandQuickPickItem({
label:`$(git-compare) Directory Compare with Working Tree`,
description:`\u00a0 \u2014 \u00a0\u00a0$(git-commit) ${commit.shortSha}\u00a0 $(git-compare) \u00a0$(file-directory) Working Tree`
description:`${Strings.pad(GlyphChars.Dash,2,3)}$(git-commit) ${commit.shortSha}${GlyphChars.Space}$(git-compare) ${GlyphChars.Space}$(file-directory) Working Tree`
},Commands.DiffDirectory,[
uri,
{
@ -298,7 +299,7 @@ export class CommitDetailsQuickPick {
description=`\u00a0 \u2014 \u00a0\u00a0${path.basename(commit.fileName)} in \u00a0$(git-commit) ${commit.previousShortSha} (deleted in \u00a0$(git-commit) ${commit.shortSha})`;
description=`${Strings.pad(GlyphChars.Dash,2,3)}${path.basename(commit.fileName)} in ${GlyphChars.Space}$(git-commit) ${commit.previousShortSha} (deleted in ${GlyphChars.Space}$(git-commit) ${commit.shortSha})`;
}
else{
uri=GitService.toGitContentUri(commit);
description=`\u00a0 \u2014 \u00a0\u00a0${path.basename(commit.fileName)} in \u00a0$(git-commit) ${commit.shortSha}`;
description=`${Strings.pad(GlyphChars.Dash,2,3)}${path.basename(commit.fileName)} in ${GlyphChars.Space}$(git-commit) ${commit.shortSha}`;
}
super(uri,item||{
label:`$(file-symlink-file) Open File`,
@ -35,7 +36,7 @@ export class OpenCommitWorkingTreeFileCommandQuickPickItem extends OpenFileComma
@ -159,7 +160,7 @@ export class CommitFileDetailsQuickPick {
if(!stash){
items.push(newCommandQuickPickItem({
label:`$(history) Show ${commit.workingFileName?'Previous ':''}File History`,
description:`\u00a0 \u2014 \u00a0\u00a0 of ${path.basename(commit.fileName)}\u00a0\u2022\u00a0 from \u00a0$(git-commit) ${commit.shortSha}`
description:`${Strings.pad(GlyphChars.Dash,2,3)} of ${path.basename(commit.fileName)}${Strings.pad(GlyphChars.Dot,1,1)} from ${GlyphChars.Space}$(git-commit) ${commit.shortSha}`
},Commands.ShowQuickFileHistory,[
newGitUri(commit.uri,commit),
{
@ -274,7 +275,7 @@ export class CommitFileDetailsQuickPick {
description:`\u00a0 \u2014 \u00a0\u00a0 to history of \u00a0$(file-text) ${path.basename(uri.fsPath)}${uri.sha?` from \u00a0$(git-commit) ${uri.shortSha}`:''}`
label:`go back ${GlyphChars.ArrowBack}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} to history of ${GlyphChars.Space}$(file-text) ${path.basename(uri.fsPath)}${uri.sha?` from ${GlyphChars.Space}$(git-commit) ${uri.shortSha}`:''}`
},Commands.ShowQuickFileHistory,[
uri,
{
@ -74,7 +75,7 @@ export class FileHistoryQuickPick {
@ -107,8 +108,8 @@ export class FileHistoryQuickPick {
constbranch=awaitgit.getBranch(uri.repoPath!);
constcurrentCommand=newCommandQuickPickItem({
label:`go back \u21A9`,
description:`\u00a0 \u2014 \u00a0\u00a0 to history of \u00a0$(file-text) ${path.basename(uri.fsPath)}${uri.sha?` from \u00a0$(git-commit) ${uri.shortSha}`:''}`
label:`go back ${GlyphChars.ArrowBack}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} to history of ${GlyphChars.Space}$(file-text) ${path.basename(uri.fsPath)}${uri.sha?` from ${GlyphChars.Space}$(git-commit) ${uri.shortSha}`:''}`
},Commands.ShowQuickFileHistory,[
uri,
{
@ -122,7 +123,7 @@ export class FileHistoryQuickPick {
description=`$(file-text) ${path.basename(resource.fileName)} in \u00a0$(git-commit) ${resource.commit.previousShortSha} (deleted in \u00a0$(git-commit) ${resource.commit.shortSha})`;
description=`$(file-text) ${path.basename(resource.fileName)} in ${GlyphChars.Space}$(git-commit) ${resource.commit.previousShortSha} (deleted in ${GlyphChars.Space}$(git-commit) ${resource.commit.shortSha})`;
}
else{
resource.sha=resource.commit.sha;
description=`$(file-text) ${path.basename(resource.fileName)} in \u00a0$(git-commit) ${resource.commit.shortSha}`;
description=`$(file-text) ${path.basename(resource.fileName)} in ${GlyphChars.Space}$(git-commit) ${resource.commit.shortSha}`;
@ -166,8 +167,8 @@ export class RepoStatusQuickPick {
if(status.upstream&&status.state.ahead){
items.splice(0,0,newCommandQuickPickItem({
label:`$(cloud-upload)\u00a0${status.state.ahead} Commit${status.state.ahead>1?'s':''} ahead of \u00a0$(git-branch) ${status.upstream}`,
description:`\u00a0 \u2014 \u00a0\u00a0 shows commits in \u00a0$(git-branch) ${status.branch} but not \u00a0$(git-branch) ${status.upstream}`
label:`$(cloud-upload)${GlyphChars.Space}${status.state.ahead} Commit${status.state.ahead>1?'s':''} ahead of ${GlyphChars.Space}$(git-branch) ${status.upstream}`,
description:`${Strings.pad(GlyphChars.Dash,2,3)} shows commits in ${GlyphChars.Space}$(git-branch) ${status.branch} but not ${GlyphChars.Space}$(git-branch) ${status.upstream}`
description:`\u00a0 \u2014 \u00a0\u00a0 shows commits in \u00a0$(git-branch) ${status.upstream} but not \u00a0$(git-branch) ${status.branch}${status.sha?` (since \u00a0$(git-commit) ${status.sha.substring(0,8)})`:''}`
description:`${Strings.pad(GlyphChars.Dash,2,3)} shows commits in ${GlyphChars.Space}$(git-branch) ${status.upstream} but not ${GlyphChars.Space}$(git-branch) ${status.branch}${status.sha?` (since ${GlyphChars.Space}$(git-commit) ${status.sha.substring(0,8)})`:''}`