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