git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature requset: listing of current stash in git gui
@ 2011-11-21 10:00 dexen deVries
  2011-11-21 10:53 ` Stefan Näwe
  0 siblings, 1 reply; 7+ messages in thread
From: dexen deVries @ 2011-11-21 10:00 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
  2011-11-21 10:00 Feature requset: listing of current stash in git gui dexen deVries
@ 2011-11-21 10:53 ` Stefan Näwe
  2011-11-21 12:41   ` dexen deVries
       [not found]   ` <30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14>
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Näwe @ 2011-11-21 10:53 UTC (permalink / raw)
  To: dexen deVries; +Cc: git@vger.kernel.org

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')"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
  2011-11-21 10:53 ` Stefan Näwe
@ 2011-11-21 12:41   ` dexen deVries
       [not found]   ` <30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14>
  1 sibling, 0 replies; 7+ messages in thread
From: dexen deVries @ 2011-11-21 12:41 UTC (permalink / raw)
  To: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
       [not found]   ` <30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14>
@ 2011-11-22 10:24     ` David Aguilar
  2011-11-22 15:19       ` Stefan Näwe
  0 siblings, 1 reply; 7+ messages in thread
From: David Aguilar @ 2011-11-22 10:24 UTC (permalink / raw)
  To: dexen deVries; +Cc: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
  2011-11-22 10:24     ` David Aguilar
@ 2011-11-22 15:19       ` Stefan Näwe
  2011-11-23 11:20         ` David Aguilar
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Näwe @ 2011-11-22 15:19 UTC (permalink / raw)
  To: David Aguilar; +Cc: dexen deVries, git@vger.kernel.org

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')"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
  2011-11-22 15:19       ` Stefan Näwe
@ 2011-11-23 11:20         ` David Aguilar
  2011-11-23 11:24           ` Stefan Näwe
  0 siblings, 1 reply; 7+ messages in thread
From: David Aguilar @ 2011-11-23 11:20 UTC (permalink / raw)
  To: Stefan Näwe; +Cc: dexen deVries, git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Feature requset: listing of current stash in git gui
  2011-11-23 11:20         ` David Aguilar
@ 2011-11-23 11:24           ` Stefan Näwe
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Näwe @ 2011-11-23 11:24 UTC (permalink / raw)
  To: David Aguilar; +Cc: dexen deVries, git@vger.kernel.org

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')"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-23 11:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-21 10:00 Feature requset: listing of current stash in git gui dexen deVries
2011-11-21 10:53 ` Stefan Näwe
2011-11-21 12:41   ` dexen deVries
     [not found]   ` <30417194.1411.1321907485839.JavaMail.mobile-sync@ieja14>
2011-11-22 10:24     ` David Aguilar
2011-11-22 15:19       ` Stefan Näwe
2011-11-23 11:20         ` David Aguilar
2011-11-23 11:24           ` Stefan Näwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).