From 65ba3339519312138ee9b94dfada86a8195ea31b Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Wed, 10 Jan 2018 02:01:21 -0600 Subject: [PATCH 01/14] Bump to 0.7.2-pre1 --- chocolatey/poshgit.nuspec | 4 ++-- src/posh-git.psd1 | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chocolatey/poshgit.nuspec b/chocolatey/poshgit.nuspec index 66a083899..83f902643 100644 --- a/chocolatey/poshgit.nuspec +++ b/chocolatey/poshgit.nuspec @@ -3,7 +3,7 @@ poshgit posh-git - 0.7.2-pre0 + 0.7.2-pre1 Keith Dahlby, Mark Embling, Jeremy Skinner, Keith Hill Keith Dahlby ### posh-git @@ -27,7 +27,7 @@ Note on performance: displaying file status in the git prompt for a very large r Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names. poshgit posh-git powershell git https://github.com/dahlbyk/posh-git - https://github.com/dahlbyk/posh-git/blob/master/LICENSE.txt + https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/LICENSE.txt false diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index e95fcd45e..b927eacd3 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -4,7 +4,7 @@ ModuleToProcess = 'posh-git.psm1' # Version number of this module. -ModuleVersion = '0.7.2.0' +ModuleVersion = '0.7.2' # ID used to uniquely identify this module GUID = '74c9fd30-734b-4c89-a8ae-7727ad21d1d5' @@ -62,16 +62,16 @@ PrivateData = @{ Tags = @('git', 'prompt', 'tab', 'tab-completion', 'tab-expansion', 'tabexpansion') # A URL to the license for this module. - LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/master/LICENSE.txt' + LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/dahlbyk/posh-git' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md' + ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/CHANGELOG.md' # TODO: REMOVE BEFOE RELEASE - PreReleaseVersion = 'pre0' + PreReleaseVersion = 'pre1' } } From 0c4aa3ac37ff517dc595f1315be8f17c8a08dac4 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Wed, 10 Jan 2018 03:00:37 -0600 Subject: [PATCH 02/14] Fix Prerelease PSData key https://docs.microsoft.com/en-us/powershell/gallery/psget/module/PrereleaseModule --- ISSUE_TEMPLATE.md | 2 +- src/posh-git.psd1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index a9c9a18ae..5d33642a3 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -14,7 +14,7 @@ If not, PLEASE fill in the following details so that we can help you! To retrieve the system details, paste the following line into PowerShell, press Enter and then copy/paste the resulting output above. -"- posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $m.Version,$m.PrivateData.PSData.PreReleaseVersion,$m.ModuleBase.Replace($HOME,'~'))`n- PowerShell version: $($PSVersionTable.PSVersion)`n- $( +"- posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $m.Version,$m.PrivateData.PSData.Prerelease,$m.ModuleBase.Replace($HOME,'~'))`n- PowerShell version: $($PSVersionTable.PSVersion)`n- $( git --version)`n- OS: $([System.Environment]::OSVersion)" --> diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index b927eacd3..3726bbf63 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -71,7 +71,7 @@ PrivateData = @{ ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/CHANGELOG.md' # TODO: REMOVE BEFOE RELEASE - PreReleaseVersion = 'pre1' + Prerelease = 'pre1' } } From ec5204f2861a94494d424c46dc758c792c7461eb Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Fri, 12 Jan 2018 16:25:18 -0600 Subject: [PATCH 03/14] Explain v0/v1 support --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8fce029e5..187e5c446 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,12 @@ You can also tab complete remote names and branch names e.g.: `git pull or - `master` avoids breaking changes, maintaining v0.x. ( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) + - Supports PowerShell 3+ - `develop` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328). ( [README](https://github.com/dahlbyk/posh-git/blob/develop/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/develop/CHANGELOG.md) ) + - Supports PowerShell 5 and PowerShell Core 6 + - Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization - Previous releases: - v0.7.1 ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.1/README.md) From 3066ac708d0313576f9e8910657e36726237e1c0 Mon Sep 17 00:00:00 2001 From: Eric Jorgensen Date: Thu, 18 Jan 2018 10:52:50 -0800 Subject: [PATCH 04/14] Added Setting to change Admin text in window title. Also move the logic for this into write-gitstatus, so all of the title logic is together --- src/GitPrompt.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GitPrompt.ps1 b/src/GitPrompt.ps1 index 010af199c..21ef5892d 100644 --- a/src/GitPrompt.ps1 +++ b/src/GitPrompt.ps1 @@ -99,6 +99,7 @@ $global:GitPromptSettings = [pscustomobject]@{ DescribeStyle = '' EnableWindowTitle = 'posh~git ~ ' + AdminTitlePrefixText = 'Administrator: ' DefaultPromptPrefix = '' DefaultPromptSuffix = '$(''>'' * ($nestedPromptLevel + 1)) ' @@ -114,8 +115,6 @@ $global:GitPromptSettings = [pscustomobject]@{ $isAdminProcess = Test-Administrator -$adminHeader = if ($isAdminProcess) { 'Administrator: ' } else { '' } - $WindowTitleSupported = $true if (Get-Module NuGet) { $WindowTitleSupported = $false @@ -292,7 +291,8 @@ function Write-GitStatus($status) { } $repoName = Split-Path -Leaf (Split-Path $status.GitDir) $prefix = if ($s.EnableWindowTitle -is [string]) { $s.EnableWindowTitle } else { '' } - $Host.UI.RawUI.WindowTitle = "$script:adminHeader$prefix$repoName [$($status.Branch)]" + $adminHeader = if ($script:isAdminProcess) { $s.AdminTitlePrefixText } else { '' } + $Host.UI.RawUI.WindowTitle = "$adminHeader$prefix$repoName [$($status.Branch)]" } } elseif ( $Global:PreviousWindowTitle ) { $Host.UI.RawUI.WindowTitle = $Global:PreviousWindowTitle From d91163a6352fcaf824433e10435135dc638906d5 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Mon, 16 Apr 2018 23:00:33 -0500 Subject: [PATCH 05/14] Clarify PowerShell verisons --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 187e5c446..4e2a56592 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,11 @@ You can also tab complete remote names and branch names e.g.: `git pull or - `master` avoids breaking changes, maintaining v0.x. ( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) - - Supports PowerShell 3+ + - Supports Windows PowerShell 3+ - `develop` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328). ( [README](https://github.com/dahlbyk/posh-git/blob/develop/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/develop/CHANGELOG.md) ) - - Supports PowerShell 5 and PowerShell Core 6 + - Supports Windows PowerShell 5.x and PowerShell Core 6 - Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization - Previous releases: - v0.7.1 From bff14967fa10197c5ac1b6637b262c0caa912cc2 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Mon, 16 Apr 2018 23:05:26 -0500 Subject: [PATCH 06/14] Move v0 off master --- README.md | 15 +++++++++------ appveyor.yml | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4e2a56592..878136715 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # posh-git -[![master build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/master?svg=true&pendingText=master%20%E2%80%A3%20pending&failingText=master%20%E2%80%A3%20failing&passingText=master%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/master) -[![master build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=master)](https://coveralls.io/github/dahlbyk/posh-git?branch=master) +[![v0 build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/v0?svg=true&pendingText=v0%20%E2%80%A3%20pending&failingText=v0%20%E2%80%A3%20failing&passingText=v0%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/v0) +[![v0 build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=v0)](https://coveralls.io/github/dahlbyk/posh-git?branch=v0) [![develop build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/develop?svg=true&pendingText=develop%20%E2%80%A3%20pending&failingText=develop%20%E2%80%A3%20failing&passingText=develop%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/develop) [![develop build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=develop)](https://coveralls.io/github/dahlbyk/posh-git?branch=develop) @@ -19,16 +19,19 @@ That will tab complete to `git checkout` and if you keep pressing tab You can also tab complete remote names and branch names e.g.: `git pull or ma` tab completes to `git pull origin master`. ## Versions -- `master` avoids breaking changes, maintaining v0.x. - ( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) +- `v0` avoids breaking changes, maintaining v0.x. + ( [README](https://github.com/dahlbyk/posh-git/blob/v0/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md) ) - Supports Windows PowerShell 3+ - `develop` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328). ( [README](https://github.com/dahlbyk/posh-git/blob/develop/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/develop/CHANGELOG.md) ) - Supports Windows PowerShell 5.x and PowerShell Core 6 - Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization -- Previous releases: +- Releases: + - v0.7.2 + ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.2/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md) ) - v0.7.1 ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.1/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.1/CHANGELOG.md) ) diff --git a/appveyor.yml b/appveyor.yml index c9d5734a5..46d73eef7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,7 @@ environment: branches: only: - - master + - v0 init: - git config --global core.autocrlf true From 4ad8496147f5992babe9e6d24d7f947a17a85a76 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 21:45:45 -0500 Subject: [PATCH 07/14] Update changelog for v0.7.2 --- CHANGELOG.md | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fc0fd450..2590e6105 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # posh-git Release History -## 0.7.2 - January 10, 2018 +## 0.7.2 - April 19, 2018 - posh-git now exports the variable `$GitPromptScriptBlock` which contains the code for the default prompt. ([#501](https://github.com/dahlbyk/posh-git/issues/501)) @@ -18,8 +18,6 @@ Import-Module posh-git ``` -- Added `Add-PoshGitToProfile -AllUsers` support - ([PR #504](https://github.com/dahlbyk/posh-git/pull/504)) - Fixed 'Write-Prompt' to be able use Black as foreground color. ([#470](https://github.com/dahlbyk/posh-git/pull/470)) ([PR #468](https://github.com/dahlbyk/posh-git/pull/468)) @@ -34,6 +32,8 @@ - Fixed directory names that contain [brackets] cause GitPrompt to fail. ([PR #502](https://github.com/dahlbyk/posh-git/pull/502)) Thanks Duncan Smart (@duncansmart) +- Added `Add-PoshGitToProfile -AllUsers` support + ([PR #504](https://github.com/dahlbyk/posh-git/pull/504)) - Fixed duplicated branch completion for git checkout ([#505](https://github.com/dahlbyk/posh-git/issues/505)) ([PR #506](https://github.com/dahlbyk/posh-git/pull/506)) @@ -45,11 +45,25 @@ - Fixed errors added to $Error collection by `Get-GitStatus` command ([#500](https://github.com/dahlbyk/posh-git/issues/500)) ([PR #514](https://github.com/dahlbyk/posh-git/pull/514)) -- Add custom path rendering in prompt +- Added custom path rendering in prompt ([#469](https://github.com/dahlbyk/posh-git/issues/469)) ([PR #520](https://github.com/dahlbyk/posh-git/pull/520)) - Clean up wording for work dir local status in help file ([PR #516](https://github.com/dahlbyk/posh-git/pull/516)) +- Added `$GitPromptSettings.AdminTitlePrefixText` (default: `'Administrator: '`) + ([#537](https://github.com/dahlbyk/posh-git/pull/537)) + ([PR #538](https://github.com/dahlbyk/posh-git/pull/538)) + Thanks Eric Jorgensen (@nebosite) +- Added `$GitPromptSettings.UntrackedFilesMode`; + accepted values are `$null` (inherit `status.showUntrackedFiles`), "all", "no", and "normal" + ([#556](https://github.com/dahlbyk/posh-git/pull/556)) + ([PR #557](https://github.com/dahlbyk/posh-git/pull/557)) + Thanks David Snedecor (@TheSned) +- `PoshGitVcsPrompt` errors now show details if `$GitPromptSettings.Debug` + ([PR #560](https://github.com/dahlbyk/posh-git/pull/560)) +- Exported `Expand-GitCommand` for use with custom tab expansion + ([#562](https://github.com/dahlbyk/posh-git/pull/562)) + ([PR #563](https://github.com/dahlbyk/posh-git/pull/563)) - Add code coverage to Coveralls.io ([#416](https://github.com/dahlbyk/posh-git/pull/416)) ([PR #461](https://github.com/dahlbyk/posh-git/pull/461)) From cd2ef7da19c196dc25310142e77f9d5c37357acf Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 21:53:47 -0500 Subject: [PATCH 08/14] Move develop to master --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 878136715..49276b773 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![v0 build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/v0?svg=true&pendingText=v0%20%E2%80%A3%20pending&failingText=v0%20%E2%80%A3%20failing&passingText=v0%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/v0) [![v0 build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=v0)](https://coveralls.io/github/dahlbyk/posh-git?branch=v0) -[![develop build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/develop?svg=true&pendingText=develop%20%E2%80%A3%20pending&failingText=develop%20%E2%80%A3%20failing&passingText=develop%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/develop) -[![develop build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=develop)](https://coveralls.io/github/dahlbyk/posh-git?branch=develop) +[![master build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/master?svg=true&pendingText=master%20%E2%80%A3%20pending&failingText=master%20%E2%80%A3%20failing&passingText=master%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/master) +[![master build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=master)](https://coveralls.io/github/dahlbyk/posh-git?branch=master) [![Join the chat at https://gitter.im/dahlbyk/posh-git](https://badges.gitter.im/dahlbyk/posh-git.svg)](https://gitter.im/dahlbyk/posh-git?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![posh-git on Chocolatey](https://img.shields.io/chocolatey/dt/poshgit.svg)](https://chocolatey.org/packages/poshgit/) @@ -23,9 +23,9 @@ You can also tab complete remote names and branch names e.g.: `git pull or ( [README](https://github.com/dahlbyk/posh-git/blob/v0/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md) ) - Supports Windows PowerShell 3+ -- `develop` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328). - ( [README](https://github.com/dahlbyk/posh-git/blob/develop/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/develop/CHANGELOG.md) ) +- `master` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328) and beyond. + ( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) - Supports Windows PowerShell 5.x and PowerShell Core 6 - Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization - Releases: From 3a9af85649ed3d7bc4d72a211be2ea07c8f6969a Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 21:54:16 -0500 Subject: [PATCH 09/14] Happy New Year! --- LICENSE.txt | 2 +- src/posh-git.psd1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 7b3d7e3f2..c2c91650e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2010-2016 Keith Dahlby and contributors +Copyright (c) 2010-2018 Keith Dahlby and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index 6639e8f22..4689c02f9 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -13,7 +13,7 @@ GUID = '74c9fd30-734b-4c89-a8ae-7727ad21d1d5' Author = 'Keith Dahlby and contributors' # Copyright statement for this module -Copyright = '(c) 2010-2017 Keith Dahlby and contributors' +Copyright = '(c) 2010-2018 Keith Dahlby and contributors' # Description of the functionality provided by this module Description = 'Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names.' From ba910ba33a3a5de4631f8e590583a12294a6cbae Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 22:49:33 -0500 Subject: [PATCH 10/14] Rearrange readme versions --- README.md | 73 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 49276b773..2f36f5e65 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ # posh-git -[![v0 build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/v0?svg=true&pendingText=v0%20%E2%80%A3%20pending&failingText=v0%20%E2%80%A3%20failing&passingText=v0%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/v0) -[![v0 build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=v0)](https://coveralls.io/github/dahlbyk/posh-git?branch=v0) - -[![master build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/master?svg=true&pendingText=master%20%E2%80%A3%20pending&failingText=master%20%E2%80%A3%20failing&passingText=master%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/master) -[![master build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=master)](https://coveralls.io/github/dahlbyk/posh-git?branch=master) - [![Join the chat at https://gitter.im/dahlbyk/posh-git](https://badges.gitter.im/dahlbyk/posh-git.svg)](https://gitter.im/dahlbyk/posh-git?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![posh-git on Chocolatey](https://img.shields.io/chocolatey/dt/poshgit.svg)](https://chocolatey.org/packages/poshgit/) +[![posh-git on PowerShell Gallery](https://img.shields.io/powershellgallery/dt/posh-git.svg)](https://www.powershellgallery.org/packages/posh-git/) posh-git is a PowerShell module that integrates Git and PowerShell by providing Git status summary information that can be displayed in the PowerShell prompt, e.g.: ```powershell @@ -19,25 +14,53 @@ That will tab complete to `git checkout` and if you keep pressing tab You can also tab complete remote names and branch names e.g.: `git pull or ma` tab completes to `git pull origin master`. ## Versions -- `v0` avoids breaking changes, maintaining v0.x. - ( [README](https://github.com/dahlbyk/posh-git/blob/v0/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md) ) - - Supports Windows PowerShell 3+ -- `master` includes breaking changes, toward [v1.0](https://github.com/dahlbyk/posh-git/issues/328) and beyond. - ( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) - - Supports Windows PowerShell 5.x and PowerShell Core 6 - - Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization -- Releases: - - v0.7.2 - ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.2/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md) ) - - v0.7.1 - ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.1/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.1/CHANGELOG.md) ) - - v0.7.0 - ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.0/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.0/CHANGELOG.md) ) + +### posh-git v0.x + +[![v0 build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/v0?svg=true&pendingText=v0%20%E2%80%A3%20pending&failingText=v0%20%E2%80%A3%20failing&passingText=v0%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/v0) +[![v0 build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=v0)](https://coveralls.io/github/dahlbyk/posh-git?branch=v0) +( [README](https://github.com/dahlbyk/posh-git/blob/v0/README.md) +• [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md) ) + +- Supports Windows PowerShell 3+ +- Does not support PowerShell Core +- Avoids breaking changes, maintaining v0.x + +#### Releases + +- v0.7.2 + ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.2/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md) ) +- v0.7.1 + ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.1/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.1/CHANGELOG.md) ) +- v0.7.0 + ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.0/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.0/CHANGELOG.md) ) + +### posh-git v1.0 + +[![master build status](https://ci.appveyor.com/api/projects/status/eb8erd5afaa01w80/branch/master?svg=true&pendingText=master%20%E2%80%A3%20pending&failingText=master%20%E2%80%A3%20failing&passingText=master%20%E2%80%A3%20passing)](https://ci.appveyor.com/project/dahlbyk/posh-git/branch/master) +[![master build coverage](https://coveralls.io/repos/github/dahlbyk/posh-git/badge.svg?branch=master)](https://coveralls.io/github/dahlbyk/posh-git?branch=master) +( [README](https://github.com/dahlbyk/posh-git/blob/master/README.md) +• [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/master/CHANGELOG.md) ) + +- Supports Windows PowerShell 5.x +- Supports PowerShell Core 6+ on all platforms +- Supports [ANSI escape sequences](https://en.wikipedia.org/wiki/ANSI_escape_code) for color customization +- Includes breaking changes from v0.x ([roadmap](https://github.com/dahlbyk/posh-git/issues/328)) + +#### Releases + +- v1.0.0 + ( [README](https://github.com/dahlbyk/posh-git/blob/v1.0.0/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v1.0.0/CHANGELOG.md) ) +- v1.0.0-beta2 + ( [README](https://github.com/dahlbyk/posh-git/blob/v1.0.0-beta2/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v1.0.0-beta2/CHANGELOG.md) ) +- v1.0.0-beta1 + ( [README](https://github.com/dahlbyk/posh-git/blob/v1.0.0-beta1/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v1.0.0-beta1/CHANGELOG.md) ) ## Notes posh-git adds variables to your session to let you customize it, including `$GitPromptSettings`, `$GitTabSettings`, and `$TortoiseGitSettings`. From 2aba99200dfa8546846174b273e71a57cbe4087a Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 22:49:41 -0500 Subject: [PATCH 11/14] Bump to v0.7.2 --- chocolatey/poshgit.nuspec | 4 ++-- src/posh-git.psd1 | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/chocolatey/poshgit.nuspec b/chocolatey/poshgit.nuspec index 83f902643..ba048bc6b 100644 --- a/chocolatey/poshgit.nuspec +++ b/chocolatey/poshgit.nuspec @@ -3,7 +3,7 @@ poshgit posh-git - 0.7.2-pre1 + 0.7.2 Keith Dahlby, Mark Embling, Jeremy Skinner, Keith Hill Keith Dahlby ### posh-git @@ -27,7 +27,7 @@ Note on performance: displaying file status in the git prompt for a very large r Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names. poshgit posh-git powershell git https://github.com/dahlbyk/posh-git - https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/LICENSE.txt + https://github.com/dahlbyk/posh-git/blob/v0.7.2/LICENSE.txt false diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index 4689c02f9..3e184a8ca 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -63,16 +63,13 @@ PrivateData = @{ Tags = @('git', 'prompt', 'tab', 'tab-completion', 'tab-expansion', 'tabexpansion') # A URL to the license for this module. - LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/LICENSE.txt' + LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/dahlbyk/posh-git' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2-pre1/CHANGELOG.md' - - # TODO: REMOVE BEFOE RELEASE - Prerelease = 'pre1' + ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md' } } From 2a9cfbc5aa9c794f01f88dd93ff945cfa76ee7c5 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 22:21:43 -0500 Subject: [PATCH 12/14] Reset for v0.7.3 development --- chocolatey/poshgit.nuspec | 4 ++-- src/posh-git.psd1 | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/chocolatey/poshgit.nuspec b/chocolatey/poshgit.nuspec index ba048bc6b..3bb73aac5 100644 --- a/chocolatey/poshgit.nuspec +++ b/chocolatey/poshgit.nuspec @@ -3,7 +3,7 @@ poshgit posh-git - 0.7.2 + 0.7.3-pre0 Keith Dahlby, Mark Embling, Jeremy Skinner, Keith Hill Keith Dahlby ### posh-git @@ -27,7 +27,7 @@ Note on performance: displaying file status in the git prompt for a very large r Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names. poshgit posh-git powershell git https://github.com/dahlbyk/posh-git - https://github.com/dahlbyk/posh-git/blob/v0.7.2/LICENSE.txt + https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt false diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index 3e184a8ca..4376baf89 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -4,7 +4,7 @@ ModuleToProcess = 'posh-git.psm1' # Version number of this module. -ModuleVersion = '0.7.2' +ModuleVersion = '0.7.3.0' # ID used to uniquely identify this module GUID = '74c9fd30-734b-4c89-a8ae-7727ad21d1d5' @@ -63,13 +63,16 @@ PrivateData = @{ Tags = @('git', 'prompt', 'tab', 'tab-completion', 'tab-expansion', 'tabexpansion') # A URL to the license for this module. - LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2/LICENSE.txt' + LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/dahlbyk/posh-git' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md' + ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md' + + # TODO: REMOVE BEFORE RELEASE + Prerelease = 'pre0' } } From 6eb84bdff7d18411d76493ab5e0b025371339723 Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 23:23:45 -0500 Subject: [PATCH 13/14] Bump to v0.7.3 Apparently I accidentally published v0.7.2 back in January --- CHANGELOG.md | 2 +- README.md | 6 +++--- chocolatey/poshgit.nuspec | 4 ++-- src/posh-git.psd1 | 9 +++------ 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2590e6105..9e5a49b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # posh-git Release History -## 0.7.2 - April 19, 2018 +## 0.7.3 - April 19, 2018 - posh-git now exports the variable `$GitPromptScriptBlock` which contains the code for the default prompt. ([#501](https://github.com/dahlbyk/posh-git/issues/501)) diff --git a/README.md b/README.md index 2f36f5e65..135788b27 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ You can also tab complete remote names and branch names e.g.: `git pull or #### Releases -- v0.7.2 - ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.2/README.md) - • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.2/CHANGELOG.md) ) +- v0.7.3 + ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.3/README.md) + • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.3/CHANGELOG.md) ) - v0.7.1 ( [README](https://github.com/dahlbyk/posh-git/blob/v0.7.1/README.md) • [CHANGELOG](https://github.com/dahlbyk/posh-git/blob/v0.7.1/CHANGELOG.md) ) diff --git a/chocolatey/poshgit.nuspec b/chocolatey/poshgit.nuspec index 3bb73aac5..e71cbcfe1 100644 --- a/chocolatey/poshgit.nuspec +++ b/chocolatey/poshgit.nuspec @@ -3,7 +3,7 @@ poshgit posh-git - 0.7.3-pre0 + 0.7.3 Keith Dahlby, Mark Embling, Jeremy Skinner, Keith Hill Keith Dahlby ### posh-git @@ -27,7 +27,7 @@ Note on performance: displaying file status in the git prompt for a very large r Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names. poshgit posh-git powershell git https://github.com/dahlbyk/posh-git - https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt + https://github.com/dahlbyk/posh-git/blob/v0.7.3/LICENSE.txt false diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index 4376baf89..be8edef7d 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -4,7 +4,7 @@ ModuleToProcess = 'posh-git.psm1' # Version number of this module. -ModuleVersion = '0.7.3.0' +ModuleVersion = '0.7.3' # ID used to uniquely identify this module GUID = '74c9fd30-734b-4c89-a8ae-7727ad21d1d5' @@ -63,16 +63,13 @@ PrivateData = @{ Tags = @('git', 'prompt', 'tab', 'tab-completion', 'tab-expansion', 'tabexpansion') # A URL to the license for this module. - LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt' + LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.3/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/dahlbyk/posh-git' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md' - - # TODO: REMOVE BEFORE RELEASE - Prerelease = 'pre0' + ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.3/CHANGELOG.md' } } From f4979cd6d05ab89d4fe73958f42443223ca346db Mon Sep 17 00:00:00 2001 From: Keith Dahlby Date: Thu, 19 Apr 2018 23:27:27 -0500 Subject: [PATCH 14/14] Reset for v0.7.4 development --- chocolatey/poshgit.nuspec | 4 ++-- src/posh-git.psd1 | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/chocolatey/poshgit.nuspec b/chocolatey/poshgit.nuspec index e71cbcfe1..151f698af 100644 --- a/chocolatey/poshgit.nuspec +++ b/chocolatey/poshgit.nuspec @@ -3,7 +3,7 @@ poshgit posh-git - 0.7.3 + 0.7.4-pre0 Keith Dahlby, Mark Embling, Jeremy Skinner, Keith Hill Keith Dahlby ### posh-git @@ -27,7 +27,7 @@ Note on performance: displaying file status in the git prompt for a very large r Provides prompt with Git status summary information and tab completion for Git commands, parameters, remotes and branch names. poshgit posh-git powershell git https://github.com/dahlbyk/posh-git - https://github.com/dahlbyk/posh-git/blob/v0.7.3/LICENSE.txt + https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt false diff --git a/src/posh-git.psd1 b/src/posh-git.psd1 index be8edef7d..b29f83f8a 100644 --- a/src/posh-git.psd1 +++ b/src/posh-git.psd1 @@ -4,7 +4,7 @@ ModuleToProcess = 'posh-git.psm1' # Version number of this module. -ModuleVersion = '0.7.3' +ModuleVersion = '0.7.4.0' # ID used to uniquely identify this module GUID = '74c9fd30-734b-4c89-a8ae-7727ad21d1d5' @@ -63,13 +63,16 @@ PrivateData = @{ Tags = @('git', 'prompt', 'tab', 'tab-completion', 'tab-expansion', 'tabexpansion') # A URL to the license for this module. - LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0.7.3/LICENSE.txt' + LicenseUri = 'https://github.com/dahlbyk/posh-git/blob/v0/LICENSE.txt' # A URL to the main website for this project. ProjectUri = 'https://github.com/dahlbyk/posh-git' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0.7.3/CHANGELOG.md' + ReleaseNotes = 'https://github.com/dahlbyk/posh-git/blob/v0/CHANGELOG.md' + + # TODO: REMOVE BEFORE RELEASE + Prerelease = 'pre0' } }