Skip to content

Instantly share code, notes, and snippets.

@ferventcoder
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ferventcoder/10010d2e93cd6835142a to your computer and use it in GitHub Desktop.
Save ferventcoder/10010d2e93cd6835142a to your computer and use it in GitHub Desktop.
PoshGit slowness... :pandaface:
C:\code\puppetlabs\puppet [puppet-4]> git gc
Counting objects: 179307, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (42038/42038), done.
Writing objects: 100% (179307/179307), done.
Total 179307 (delta 134550), reused 178210 (delta 133549)
Removing duplicate objects: 100% (256/256), done.
Checking connectivity: 179307, done.
C:\code\puppetlabs\puppet [puppet-4]> git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
C:\code\puppetlabs\puppet [master]> git remote
adrien
andy
badgerious
dalen
ethan
jaredjennings
joshcooper
jpartlow
jpartlow-pepuppet
kylo
luisfdez
origin
pe-puppet
peterhuene
upstream
C:\code\puppetlabs\puppet [master]> &where.exe ssh-agent
C:\Program Files (x86)\Git\bin\ssh-agent.exe
C:\code\puppetlabs\puppet [master]> &where.exe git
C:\Program Files (x86)\Git\bin\git.exe
C:\code\puppetlabs\puppet [master]> git --version
git version 1.9.4.msysgit.0
@ferventcoder
Copy link
Author

$GitPromptSettings.Debug = $true

@ferventcoder
Copy link
Author

C:\code\puppetlabs\puppet-win32-ruby
VERBOSE: 00004:Getting status
VERBOSE: 11792:Parsing status
VERBOSE: 11799:Status: ## 1.9.3-x86...origin/1.9.3-x86
VERBOSE: 11806:Building status object
VERBOSE: 11824:Finished
 [1.9.3-x86]> git status
On branch 1.9.3-x86
Your branch is up-to-date with 'origin/1.9.3-x86'.

nothing to commit, working directory clean
C:\code\puppetlabs\puppet-win32-ruby
VERBOSE: 00003:Getting status
VERBOSE: 05180:Parsing status
VERBOSE: 05187:Status: ## 1.9.3-x86...origin/1.9.3-x86
VERBOSE: 05193:Building status object
VERBOSE: 05204:Finished
 [1.9.3-x86]>

@ferventcoder
Copy link
Author

VMWare Shared folders on the guest system probably isn't helping git or poshgit here.

@ferventcoder
Copy link
Author

https://github.com/dahlbyk/posh-git#usage and follow that to the source...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment