{"version":"2.1.200","anchor":"diff-panel-shows-staged-files-in-repos-without-commits","canonical_anchor":"diff-panel-shows-staged-files-in-repos-without-commits","heading":"Diff Panel: Shows Staged Files in Repos Without Commits","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.200\/e\/diff-panel-shows-staged-files-in-repos-without-commits","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.200","markdown":"### Diff Panel: Shows Staged Files in Repos Without Commits\n\nThe diff panel now handles new git repositories that have staged files but no commits yet:\n\n- Shows \"Staged and new files\" as the panel title (instead of \"Branch changes\")\n- Shows \"(no commits yet)\" in the subtitle\n\n**Evidence**\n\nDiff panel source state handling (search for `\"Staged and new files\"`, `\"(no commits yet)\"`)"}