Add Switch Branch in Commit
This commit is contained in:
7
main2.pb
7
main2.pb
@@ -921,6 +921,11 @@ Procedure.i DoCommit()
|
|||||||
ProcedureReturn #False
|
ProcedureReturn #False
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If GetGadgetText(#GID_CbLocalBranch)<>"" And Git("switch "+GetGadgetText(#GID_CbLocalBranch))<>0
|
||||||
|
MessageRequester("Git switch", "Échec: " + #LF$ + main\GitCall\errors, #PB_MessageRequester_Error)
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
If Git(args)<>0
|
If Git(args)<>0
|
||||||
MessageRequester("Git add", "Échec: " + #LF$ + main\GitCall\errors, #PB_MessageRequester_Error)
|
MessageRequester("Git add", "Échec: " + #LF$ + main\GitCall\errors, #PB_MessageRequester_Error)
|
||||||
@@ -1382,7 +1387,7 @@ EndProcedure
|
|||||||
Main()
|
Main()
|
||||||
|
|
||||||
; IDE Options = PureBasic 6.21 (Windows - x64)
|
; IDE Options = PureBasic 6.21 (Windows - x64)
|
||||||
; CursorPosition = 932
|
; CursorPosition = 924
|
||||||
; FirstLine = 904
|
; FirstLine = 904
|
||||||
; Folding = ------
|
; Folding = ------
|
||||||
; EnableXP
|
; EnableXP
|
||||||
|
Reference in New Issue
Block a user