ZIm/crates/worktree/src
Julia Ryan 0200dda83d
Disable uncommit button for parentless commits (#25983)
Closes #25976

There's a couple states that this covers:
- upon `git init`, no footer is shown at all
- after 1 commit (or when on any parentless commit), the uncommit button
is ~disabled~ hidden
- otherwise commit button is shown

Also updated the button with "meta" tooltip showing human readable
description and git command.

Release Notes:

- N/A

---------

Co-authored-by: Nate Butler <iamnbutler@gmail.com>
2025-03-05 23:23:05 +00:00
..
ignore.rs Fix Linux search issues (#13479) 2024-06-24 13:46:21 -07:00
worktree.rs Disable uncommit button for parentless commits (#25983) 2025-03-05 23:23:05 +00:00
worktree_settings.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
worktree_tests.rs git: Add CHERRY_PICK_HEAD to the list of merge heads (#26145) 2025-03-05 22:31:45 +00:00