{"id":5309,"date":"2024-09-06T00:49:47","date_gmt":"2024-09-05T23:49:47","guid":{"rendered":"https:\/\/pmortensen.eu\/world2\/?p=5309"},"modified":"2025-12-06T15:35:29","modified_gmt":"2025-12-06T14:35:29","slug":"git-operations-in-visual-studio-code-are-no-longer-slow-august-2024","status":"publish","type":"post","link":"https:\/\/pmortensen.eu\/world2\/2024\/09\/06\/git-operations-in-visual-studio-code-are-no-longer-slow-august-2024\/","title":{"rendered":"Git operations in Visual Studio Code are no longer slow (August 2024)"},"content":{"rendered":"<p>Version 1.93 (<a href=\"https:\/\/code.visualstudio.com\/updates\/v1_93\">August 2024 release<\/a>, received 2024-09-05) fixed a problem with very slow (minutes instead of seconds) <a href=\"https:\/\/en.wikipedia.org\/wiki\/Git\">Git<\/a> operations in <a href=\"https:\/\/en.wikipedia.org\/wiki\/Visual_Studio_Code\">Visual Studio Code<\/a>.<\/p>\n<p>This problem was introduced with a recent release, probably the previous release one month earlier, 1.92 (<a href=\"https:\/\/code.visualstudio.com\/updates\/v1_92\">July 2024<\/a>).<\/p>\n<p>It may or may not have been a consequence of this:<\/p>\n<p><em>&#8220;Based on user feedback, we have moved the history graph that was enabled last milestone from the Source Control view into a new view called Source Control Graph. This reduces the information overload from the main view and enables you to hide\/collapse\/move the new view as you see fit. This also lays the foundation for a full-featured history graph.&#8221;<\/em><\/p>\n<p>Though it is only circumstantial evidence.<\/p>\n<p>I couldn&#8217;t find anything about this problem <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/visual-studio-code\">on Stack Overflow<\/a>. That doesn&#8217;t mean it doesn&#8217;t exist.<\/p>\n<p>At least it affected <a href=\"https:\/\/github.com\/PeterMortensen\/Edit_Overflow\">Edit Overflow<\/a>, primarily a <a href=\"https:\/\/en.wikipedia.org\/wiki\/.NET_Core\">.NET Core<\/a> project. The exact nature of the slowdown is not known. All local Git operations were slow: Add to the staging area and committing locally. <\/p>\n<p>Unspecific to be investigated:<\/p>\n<ul>\n<li>  &#8220;@swordensen (Michael Sorensen): Fixes #218626 PR #219148&#8221;<\/li>\n<li> <em><a href=\"https:\/\/github.com\/microsoft\/vscode\/issues\/214407\">Git Bash slow since last update (#214407)<\/a><\/em> (at about the same, 2024-06-06)<br \/>\n<h2>Extra gotcha<\/h2>\n<p>After an update, in the first session, <strong><em>Alt<\/em><\/strong> + <strong><em>F<\/em><\/strong> to open the &#8216;File&#8217; menu (to exit the application) does not work&#8230; (nothing happens). In subsequent sessions, it does work.<\/p>\n<p>This was observed on Linux.<\/p>\n<p><!- Marker for editing in WordPress: pppp --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Version 1.93 (August 2024 release, received 2024-09-05) fixed a problem with very slow (minutes instead of seconds) Git operations in Visual Studio Code. This problem was introduced with a recent release, probably the previous release one month earlier, 1.92 (July &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/pmortensen.eu\/world2\/2024\/09\/06\/git-operations-in-visual-studio-code-are-no-longer-slow-august-2024\/\"> <span class=\"screen-reader-text\">Git operations in Visual Studio Code are no longer slow (August 2024)<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[43,16],"tags":[],"_links":{"self":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/5309"}],"collection":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/comments?post=5309"}],"version-history":[{"count":19,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/5309\/revisions"}],"predecessor-version":[{"id":5902,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/5309\/revisions\/5902"}],"wp:attachment":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/media?parent=5309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/categories?post=5309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/tags?post=5309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}