Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Merge settings with Posh-Git because I'm tired of having dueling sets #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jaykul
Copy link

@Jaykul Jaykul commented Aug 18, 2013

Submitting a similar set to posh-git -- could probably go further than this to integrate them, but this is enough for step one

@Jaykul
Copy link
Author

Jaykul commented Nov 15, 2013

bump

@JeremySkinner
Copy link
Owner

Hi

Sorry, I hadn't seen this pull request.

I've tried implementing it, but it doesn't seem to coexist nicely with posh-git. When both are enabled, the latest posh-git generates the following error:

Method invocation failed because [System.Management.Automation.ScriptBlock] does not contain
a method named 'op_Addition'.
At C:\Users\JSkinner\Documents\WindowsPowerShell\posh-git\GitPrompt.ps1:153 char:1
+ $Global:VcsPromptStatuses += {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (op_Addition:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

If you could take a look at fixing this then I'll consider merging it in.

Thanks

Jeremy

@Jaykul
Copy link
Author

Jaykul commented Nov 18, 2013

Yeah... They have a matching merge set that they had ignored as well.
Working on that -- or you can pull my fork, but really I need both of ya to
pull ;)
On Nov 18, 2013 1:02 AM, "Jeremy Skinner" [email protected] wrote:

Hi

Sorry, I hadn't seen this pull request.

I've tried implementing it, but it doesn't seem to coexist nicely with
posh-git. When both are enabled, the latest posh-git generates the
following error:

Method invocation failed because [System.Management.Automation.ScriptBlock] does not contain
a method named 'op_Addition'.
At C:\Users\JSkinner\Documents\WindowsPowerShell\posh-git\GitPrompt.ps1:153 char:1

  • $Global:VcsPromptStatuses += {
  • - CategoryInfo          : InvalidOperation: (op_Addition:String) [], RuntimeException
    - FullyQualifiedErrorId : MethodNotFound
    
    

If you could take a look at fixing this then I'll consider merging it in.

Thanks

Jeremy


Reply to this email directly or view it on GitHubhttps://github.com//pull/25#issuecomment-28683068
.

@JeremySkinner
Copy link
Owner

Does this still allow for the settings to be different for posh-hg/posh-git? For example, if I want different BeforeText/AfterText based on the repo type?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants