fix: use message in git stash command

This commit is contained in:
Andrew Hynes 2022-06-21 18:23:23 -02:30
parent e66b162726
commit 6feb301c2a
16 changed files with 13 additions and 11 deletions

View file

@ -111,6 +111,6 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
}
func (self *StashCommands) StashUntrackedChanges(message string) error {
return self.cmd.New("git stash --include-untracked").Run();
return self.cmd.New(fmt.Sprintf("git stash save %s --include-untracked", self.cmd.Quote(message))).Run()
}

View file

@ -1 +1 @@
592d439043d07cd223cbde4b3a0884b94634437b
03158a5be423590fa91f97c23ed505745e8e8aff

View file

@ -1,2 +1,2 @@
0000000000000000000000000000000000000000 592d439043d07cd223cbde4b3a0884b94634437b CI <CI@example.com> 1654284027 -0230 commit (initial): Initial commit
592d439043d07cd223cbde4b3a0884b94634437b 592d439043d07cd223cbde4b3a0884b94634437b CI <CI@example.com> 1654284036 -0230 reset: moving to HEAD
0000000000000000000000000000000000000000 03158a5be423590fa91f97c23ed505745e8e8aff CI <CI@example.com> 1655844652 -0230 commit (initial): Initial commit
03158a5be423590fa91f97c23ed505745e8e8aff 03158a5be423590fa91f97c23ed505745e8e8aff CI <CI@example.com> 1655844659 -0230 reset: moving to HEAD

View file

@ -1 +1 @@
0000000000000000000000000000000000000000 592d439043d07cd223cbde4b3a0884b94634437b CI <CI@example.com> 1654284027 -0230 commit (initial): Initial commit
0000000000000000000000000000000000000000 03158a5be423590fa91f97c23ed505745e8e8aff CI <CI@example.com> 1655844652 -0230 commit (initial): Initial commit

View file

@ -1 +1 @@
0000000000000000000000000000000000000000 b3c24805b28fa5e90b5807bb402b123974f13d61 CI <CI@example.com> 1654284036 -0230 WIP on master: 592d439 Initial commit
0000000000000000000000000000000000000000 fed8896ec3398ae58cfd81e56a058bf18b49427a CI <CI@example.com> 1655844659 -0230 WIP on master: 03158a5 Initial commit

View file

@ -1,2 +0,0 @@
x<01><>[
Â0EýÎ*fJ&¯&""ô«ËH¦S 6<>´)¸| nÀßË9çR-%7@ïOme:×¥QoX©dµGt!("¤d;¥nqoϺB?À­ü‰å=ó…j¹:k”7R;8K¥¥8Öã¤ñŸ¸Ø—¶FzñSžyƒº@‰Ûá_Á5`XrËq†_Z|j­

View file

@ -0,0 +1,2 @@
x<01>ŽA
Â0E]çs%MgÒDD„®zŒI:ÁBÓ”¡Ç· îÝ>þû¼Xrž*cOu ÎЬÏÚj! É<>ÖçRA¯Q­¼ÉRA· 9¦ hZò:±oï¢ie$M8qœâw} únýð<C3BD><C3B0>ó:Ë%|‡Æ9DKÎÚ´Zôˆªòç\MË(;”2¿ëú«a™êÄ3|ÕäÌE

View file

@ -0,0 +1,2 @@
x█▐аJ1D=о■Nр²╓EDьсэ╪yНN:╦╟3Ё▄Э|dН^▀WE╫╨-кu╦ХЫaЛfj5a╗ LY │j/-q(╔╚2Юt≈щжА z*Bj"1taъ9вPF╡bEz?Ыю
≥U┼!XКYCм)Ыh ╠╘в░╙e8ЫчЗx╪:@▀≥K@╒RмЁ╒╣╕∙╒∙I╬гГ╤╩кЛ^.С⌡Щхr©ыSщ√WГся@LдНB└ИHИaЪд╖▐Ыщm╚[ДКХ<÷нn^╞Ц*7В7В Ец`

View file

@ -1 +1 @@
592d439043d07cd223cbde4b3a0884b94634437b
03158a5be423590fa91f97c23ed505745e8e8aff

View file

@ -1 +1 @@
b3c24805b28fa5e90b5807bb402b123974f13d61
fed8896ec3398ae58cfd81e56a058bf18b49427a

View file

@ -1 +1 @@
{"KeyEvents":[{"Timestamp":3590,"Mod":0,"Key":256,"Ch":83},{"Timestamp":6045,"Mod":0,"Key":256,"Ch":85},{"Timestamp":7792,"Mod":0,"Key":13,"Ch":13},{"Timestamp":15045,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":294,"Height":79}]}
{"KeyEvents":[{"Timestamp":2942,"Mod":0,"Key":256,"Ch":83},{"Timestamp":4657,"Mod":0,"Key":256,"Ch":85},{"Timestamp":6393,"Mod":0,"Key":13,"Ch":13},{"Timestamp":12342,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":294,"Height":79}]}