-
Notifications
You must be signed in to change notification settings - Fork 387
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
Fixed issue #2376: Accidental stash-pops can so easily overwrite the uncommited working dir changes #154
Open
YueLinHo
wants to merge
1
commit into
TortoiseGit:master
Choose a base branch
from
YueLinHo:ylh/i2376
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
YueLinHo
force-pushed
the
ylh/i2376
branch
2 times, most recently
from
February 10, 2015 14:05
0ae614f
to
8065118
Compare
@ch3cooli Updated. ^_^ Thanks. |
YueLinHo
changed the title
[RFC] Fixed issue 2376: Accidental stash-pops can so easily overwrite the uncommited working dir changes
[RFC] Fixed issue #2376: Accidental stash-pops can so easily overwrite the uncommited working dir changes
Feb 10, 2015
We should make this opt-in - if we want to have this. |
@csware
|
Exactly |
YueLinHo
changed the title
[RFC] Fixed issue #2376: Accidental stash-pops can so easily overwrite the uncommited working dir changes
Fixed issue #2376: Accidental stash-pops can so easily overwrite the uncommited working dir changes
Feb 17, 2015
@csware |
…uncommited working dir changes Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
csware
force-pushed
the
master
branch
2 times, most recently
from
March 11, 2015 19:37
9d3e91b
to
85220c8
Compare
csware
force-pushed
the
master
branch
2 times, most recently
from
March 19, 2015 16:50
29728ee
to
aeea116
Compare
csware
force-pushed
the
master
branch
5 times, most recently
from
June 20, 2015 18:06
a8be543
to
f256eac
Compare
csware
force-pushed
the
master
branch
2 times, most recently
from
July 1, 2015 10:01
b64e51c
to
e78b37f
Compare
csware
force-pushed
the
master
branch
6 times, most recently
from
July 24, 2015 00:59
9e1a566
to
f7a14b0
Compare
csware
force-pushed
the
master
branch
2 times, most recently
from
December 24, 2015 17:00
e1c574d
to
2ee8f1b
Compare
csware
force-pushed
the
master
branch
2 times, most recently
from
July 7, 2016 22:00
cefea06
to
2370df1
Compare
There is a check in Git which prevents stash pop from overwriting uncommitted changes in the working tree. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
cf : Issue 2376
I don't think stash pop can easily overwrite the uncommited changes after reading this.
(After git 1.7.5.1, git drop dirty worktree check on apply.)
So, I think a warning message box is enough. agree?
If you disagree it, feel free to close this PR. :)
Also warn for git stash apply? Maybe not.