Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
operations
stash: message signature: signature flags: flags

| stash |

stash := LGitId new.
self withReturnHandlerDo: [
self stash_save: stash signature: signature message: message flags: flags ].
^ stash
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
libgit - calls
stash_save: id signature: signature message: message flags: flags

^ self
ffiCallSafely: #(LGitReturnCodeEnum git_stash_save(LGitId * id, self, LGitSignature * signature, String message, LGitStashFlagsEnum flags))
options: #()
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
enum declaration
enumDecl

^ #(
GIT_STASH_DEFAULT 0
GIT_STASH_KEEP_INDEX 1
GIT_STASH_INCLUDE_UNTRACKED 2
GIT_STASH_INCLUDE_IGNORED 4
GIT_STASH_KEEP_ALL 8 )
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
accessing - values
git_stash_default
^ self basicNew
value: 0;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
accessing - values
git_stash_include_ignored
^ self basicNew
value: 4;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
accessing - values
git_stash_include_untracked
^ self basicNew
value: 2;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
accessing - values
git_stash_keep_all
^ self basicNew
value: 8;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
accessing - values
git_stash_keep_index
^ self basicNew
value: 1;
yourself
11 changes: 11 additions & 0 deletions LibGit-Core.package/LGitStashFlagsEnum.class/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"commentStamp" : "",
"super" : "LGitExternalEnumerationUInt32",
"category" : "LibGit-Core-FFI-Enums",
"classinstvars" : [ ],
"pools" : [ ],
"classvars" : [ ],
"instvars" : [ ],
"name" : "LGitStashFlagsEnum",
"type" : "normal"
}
Loading