forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-gui: revert untracked files by deleting them #436
Closed
logiclrd
wants to merge
3
commits into
gitgitgadget:git-gui/master
from
logiclrd:git-gui-revert-untracked
Closed
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1797,10 +1797,10 @@ proc ui_status {msg} { | |
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Benjamin Poirier wrote (reply to this):
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the Git mailing list, Pratyush Yadav wrote (reply to this):
|
||
} | ||
|
||
proc ui_ready {{test {}}} { | ||
proc ui_ready {} { | ||
global main_status | ||
if {[info exists main_status]} { | ||
$main_status show [mc "Ready."] $test | ||
$main_status show [mc "Ready."] | ||
} | ||
} | ||
|
||
|
@@ -2150,8 +2150,6 @@ proc incr_font_size {font {amt 1}} { | |
## | ||
## ui commands | ||
|
||
set starting_gitk_msg [mc "Starting gitk... please wait..."] | ||
|
||
proc do_gitk {revs {is_submodule false}} { | ||
global current_diff_path file_states current_diff_side ui_index | ||
global _gitdir _gitworktree | ||
|
@@ -2206,10 +2204,11 @@ proc do_gitk {revs {is_submodule false}} { | |
set env(GIT_WORK_TREE) $_gitworktree | ||
cd $pwd | ||
|
||
ui_status $::starting_gitk_msg | ||
after 10000 { | ||
ui_ready $starting_gitk_msg | ||
} | ||
set status_operation [$::main_status \ | ||
start \ | ||
[mc "Starting %s... please wait..." "gitk"]] | ||
|
||
after 3500 [list $status_operation stop] | ||
} | ||
} | ||
|
||
|
@@ -2240,10 +2239,11 @@ proc do_git_gui {} { | |
set env(GIT_WORK_TREE) $_gitworktree | ||
cd $pwd | ||
|
||
ui_status $::starting_gitk_msg | ||
after 10000 { | ||
ui_ready $starting_gitk_msg | ||
} | ||
set status_operation [$::main_status \ | ||
start \ | ||
[mc "Starting %s... please wait..." "git-gui"]] | ||
|
||
after 3500 [list $status_operation stop] | ||
} | ||
} | ||
|
||
|
@@ -4159,6 +4159,9 @@ if {$picked && [is_config_true gui.autoexplore]} { | |
do_explore | ||
} | ||
|
||
# Clear "Initializing..." status | ||
after 500 {$main_status show ""} | ||
|
||
# Local variables: | ||
# mode: tcl | ||
# indent-tabs-mode: t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Pratyush Yadav wrote (reply to this):
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Jonathan Gilbert wrote (reply to this):