Skip to contentSkip to conversation

Feature requset: listing of current stash in git gui

DISCUSSION dexen deVries 3 participants 7 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

please consider listing modifications stored in git's stash somewhere in git gui window. Perhaps above the Staged Changes' subframe. Format of the listing similar to output of git stash list'. Available operations would be Pop, Apply, Save and Drop.

Regards,

Signature · 8 lines
dexen deVries

[[[↓][→]]]

``As my friend Jacob Gabrielson once put it, advocating Object-Oriented 
Programming is like advocating Pants-Oriented Clothing.''
 -- Steve Yegge, in
http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html
#1 lore raw

Am 21.11.2011 11:00, schrieb dexen deVries:

Quoted 7 lines

Hi,

please consider listing modifications stored in git's stash somewhere in git gui window. Perhaps above the Staged Changes' subframe. Format of the listing similar to output of git stash list'. Available operations would be Pop, Apply, Save and Drop.

You can simply put the following in your ~/.gitconfig:

[guitool "Stash/show"]
cmd = git stash show -p
[guitool "Stash/list"]
cmd = git stash list
[guitool "Stash/pop"]
cmd = git stash pop
[guitool "Stash/drop"]
cmd = git stash drop
confirm = yes

That will give you a new sub-menu in the 'Tools' menu of git gui.

Regards,
Stefan

Signature · 3 lines
----------------------------------------------------------------
/dev/random says: Dreams are free, but you get soaked on the connect time.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
#2 lore raw
Quoted 11 lines · On Monday 21 of November 2011 11:53:03 Stefan Näwe wrote:

You can simply put the following in your ~/.gitconfig:

[guitool "Stash/show"]
cmd = git stash show -p
[guitool "Stash/list"]
cmd = git stash list
[guitool "Stash/pop"]
cmd = git stash pop
[guitool "Stash/drop"]
cmd = git stash drop
confirm = yes

that's nice, but doesn't list visually the stashed changes. I'd rather have a listing similar to Unstanged Changes / Staged Changes, with ability to view line-by-line diff just like for Changes.

Regards,

Signature · 8 lines
dexen deVries

[[[↓][→]]]

``As my friend Jacob Gabrielson once put it, advocating Object-Oriented 
Programming is like advocating Pants-Oriented Clothing.''
 -- Steve Yegge, in
http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html

A message that is not in the archive (sent off-list or not yet received): 30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14

#4 lore raw
Quoted 13 lines · dexen deVries
Quoted 11 lines · On Monday 21 of November 2011 11:53:03 Stefan Näwe wrote:

You can simply put the following in your ~/.gitconfig:

[guitool "Stash/show"]
cmd = git stash show -p
[guitool "Stash/list"]
cmd = git stash list
[guitool "Stash/pop"]
cmd = git stash pop
[guitool "Stash/drop"]
cmd = git stash drop
confirm = yes

Quoted 3 lines

that's nice, but doesn't list visually the stashed changes. I'd rather have a listing similar to Unstanged Changes / Staged Changes, with ability to view line-by-line diff just like for Changes.

[blatant plug]

git-cola has this feature.

Quoted 1 line

http://git-cola.github.com/

Have fun,

Signature · 1 line
            David
#5 lore raw

Am 22.11.2011 11:24, schrieb David Aguilar:

Quoted 19 lines · dexen deVries
Quoted 14 lines · On Monday 21 of November 2011 11:53:03 Stefan Näwe wrote:
Quoted 11 lines

You can simply put the following in your ~/.gitconfig:

[guitool "Stash/show"]
cmd = git stash show -p
[guitool "Stash/list"]
cmd = git stash list
[guitool "Stash/pop"]
cmd = git stash pop
[guitool "Stash/drop"]
cmd = git stash drop
confirm = yes

Quoted 3 lines

that's nice, but doesn't list visually the stashed changes. I'd rather have a listing similar to Unstanged Changes / Staged Changes, with ability to view line-by-line diff just like for Changes.

Quoted 6 lines

[blatant plug]

git-cola has this feature.

Quoted 1 line
   http://git-cola.github.com/

Yeah, right. I totally forgot about git cola.

But I guess there's no way of starting only the stash view like the 'DAG' view, is there ?

Stefan

Signature · 3 lines
----------------------------------------------------------------
/dev/random says: This is a Tagline mirror><rorrim enilgaT a si sihT
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
#6 lore raw
Quoted 11 lines · Stefan Näwe

Am 22.11.2011 11:24, schrieb David Aguilar:

Quoted 5 lines

git-cola has this feature.

Quoted 1 line

   http://git-cola.github.com/

Yeah, right. I totally forgot about git cola.

But I guess there's no way of starting only the stash view like the 'DAG' view, is there ?

That's a good idea.

https://github.com/git-cola/git-cola/commit/0b1bf59c0b4a455cc8a9149dcfcafb5bed3a19ab

git cola stash
git cola classic
(and a few others)
...

Signature · 1 line
    David
#7 lore raw

Am 23.11.2011 12:20, schrieb David Aguilar:

Quoted 14 lines
Quoted 11 lines · Stefan Näwe

Am 22.11.2011 11:24, schrieb David Aguilar:

Quoted 5 lines

git-cola has this feature.

Quoted 1 line
   http://git-cola.github.com/

Yeah, right. I totally forgot about git cola.

But I guess there's no way of starting only the stash view like the 'DAG' view, is there ?

Quoted 8 lines

That's a good idea.

https://github.com/git-cola/git-cola/commit/0b1bf59c0b4a455cc8a9149dcfcafb5bed3a19ab

git cola stash
git cola classic
(and a few others)
...

Perfetto!

Stefan

Signature · 3 lines
----------------------------------------------------------------
/dev/random says: Thesaurus: ancient reptile with an excellent vocabulary.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"