# Feature requset: listing of current stash in git gui

7 messages from 2011-11-21 to 2011-11-23. Participants: dexen deVries, Stefan Näwe, David Aguilar.
Thread: https://gitlist.dev/t/28991

## dexen deVries, 2011-11-21 10:00

Subject: Feature requset: listing of current stash in git gui
Message-ID: <201111211100.52367.dexen.devries@gmail.com>
URL: https://gitlist.dev/e/201111211100.52367.dexen.devries%40gmail.com

```
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,
-- 
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

```

## Stefan Näwe, 2011-11-21 10:53

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <4ECA2D8F.4060005@atlas-elektronik.com>
URL: https://gitlist.dev/e/4ECA2D8F.4060005%40atlas-elektronik.com
In-Reply-To: <201111211100.52367.dexen.devries@gmail.com>

```
Am 21.11.2011 11:00, schrieb dexen deVries:
> 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
-- 
----------------------------------------------------------------
/dev/random says: Dreams are free, but you get soaked on the connect time.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"

```

## dexen deVries, 2011-11-21 12:41

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <201111211341.07939.dexen.devries@gmail.com>
URL: https://gitlist.dev/e/201111211341.07939.dexen.devries%40gmail.com
In-Reply-To: <4ECA2D8F.4060005@atlas-elektronik.com>

```
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,
-- 
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

```

## David Aguilar, 2011-11-22 10:24

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <-8099236111493298698@unknownmsgid>
URL: https://gitlist.dev/e/-8099236111493298698%40unknownmsgid
In-Reply-To: <30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14>

```
On Nov 21, 2011, at 4:41 AM, dexen deVries <dexen.devries@gmail.com> wrote:

> 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.

[blatant plug]

git-cola has this feature.
>

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

Have fun,
-- 
            David

```

## Stefan Näwe, 2011-11-22 15:19

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <4ECBBD72.40101@atlas-elektronik.com>
URL: https://gitlist.dev/e/4ECBBD72.40101%40atlas-elektronik.com
In-Reply-To: <-8099236111493298698@unknownmsgid>

```
Am 22.11.2011 11:24, schrieb David Aguilar:
> On Nov 21, 2011, at 4:41 AM, dexen deVries <dexen.devries@gmail.com> wrote:
> 
>> 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.
> 
> [blatant plug]
> 
> git-cola has this feature.
>>
> 
>    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
-- 
----------------------------------------------------------------
/dev/random says: This is a Tagline mirror><rorrim enilgaT a si sihT
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"

```

## David Aguilar, 2011-11-23 11:20

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <CAJDDKr78CV+eDrfSg4Tqp5W2N4MDTaqAcxiB5JrNpUyEn5vqAQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAJDDKr78CV%2BeDrfSg4Tqp5W2N4MDTaqAcxiB5JrNpUyEn5vqAQ%40mail.gmail.com
In-Reply-To: <4ECBBD72.40101@atlas-elektronik.com>

```
On Tue, Nov 22, 2011 at 7:19 AM, Stefan Näwe
<stefan.naewe@atlas-elektronik.com> wrote:
> Am 22.11.2011 11:24, schrieb David Aguilar:
>>
>> git-cola has this feature.
>>>
>>
>>    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)
    ...
-- 
    David

```

## Stefan Näwe, 2011-11-23 11:24

Subject: Re: Feature requset: listing of current stash in git gui
Message-ID: <4ECCD7D3.3000608@atlas-elektronik.com>
URL: https://gitlist.dev/e/4ECCD7D3.3000608%40atlas-elektronik.com
In-Reply-To: <CAJDDKr78CV+eDrfSg4Tqp5W2N4MDTaqAcxiB5JrNpUyEn5vqAQ@mail.gmail.com>

```
Am 23.11.2011 12:20, schrieb David Aguilar:
> On Tue, Nov 22, 2011 at 7:19 AM, Stefan Näwe
> <stefan.naewe@atlas-elektronik.com> wrote:
>> Am 22.11.2011 11:24, schrieb David Aguilar:
>>>
>>> git-cola has this feature.
>>>>
>>>
>>>    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)
>     ...

Perfetto!

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

```
