Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bartman/git-wip
/ functions
Functions
83 in github.com/bartman/git-wip
⨍
Functions
83
◇
Types & classes
18
↓ 44 callers
Method
get
src/git_guards.hpp:25
↓ 41 callers
Function
println
src/print_compat.hpp:40
↓ 37 callers
Method
commit
Stage all files in the working tree and create a commit. Returns the OID of the new commit.
test/unit/test_repo_fixture.hpp:108
↓ 37 callers
Method
write_file
Write (or overwrite) a file in the working tree.
test/unit/test_repo_fixture.hpp:99
↓ 30 callers
Method
repo
test/unit/test_repo_fixture.hpp:94
↓ 26 callers
Method
ptr
src/git_guards.hpp:27
↓ 19 callers
Function
git_error_str
--------------------------------------------------------------------------- Convenience helper: return the last libgit2 error message as a std::string
src/git_guards.hpp:81
↓ 18 callers
Function
oid_to_hex
--------------------------------------------------------------------------- oid_to_hex — convert a git_oid to its full lowercase hex string ---------
src/git_helpers.hpp:22
↓ 15 callers
Function
resolve_branch_names
--------------------------------------------------------------------------- resolve_branch_names Derive BranchNames from `repo`. If `branch_name` is
src/git_helpers.hpp:63
↓ 13 callers
Function
resolve_oid
--------------------------------------------------------------------------- resolve_oid Look up the OID for a named ref. Returns std::nullopt on fai
src/git_helpers.hpp:127
↓ 13 callers
Function
strip_prefix
--------------------------------------------------------------------------- strip_prefix If `s` starts with `prefix`, return the remainder. Otherwis
src/string_helpers.hpp:18
↓ 11 callers
Function
relative_time
--------------------------------------------------------------------------- relative_time Format a point-in-time (seconds since epoch) as a human-rea
src/string_helpers.hpp:57
↓ 10 callers
Function
seconds_ago
Returns an epoch seconds value that is `delta` seconds in the past.
test/unit/test_string_helpers.cpp:91
↓ 8 callers
Method
create_ref
Create a direct reference (e.g. a wip branch).
test/unit/test_repo_fixture.hpp:156
↓ 8 callers
Function
first_line
--------------------------------------------------------------------------- first_line Return the text up to (but not including) the first newline. R
src/string_helpers.hpp:43
↓ 7 callers
Function
collect_wip_commits
--------------------------------------------------------------------------- collect_wip_commits Walk from `wip_last` backwards, stopping at (but not
src/wip_helpers.hpp:61
↓ 5 callers
Method
advance_head
Advance HEAD to point to `oid` and update the branch ref. Used to simulate making a real commit after WIP commits.
test/unit/test_repo_fixture.hpp:165
↓ 5 callers
Function
color_wip_branch
src/color.cpp:82
↓ 5 callers
Function
ensure_reflog_dir
--------------------------------------------------------------------------- ensure_reflog_dir Create the directory tree and empty file needed for lib
src/git_helpers.hpp:142
↓ 5 callers
Function
strip_prefix_inplace
--------------------------------------------------------------------------- strip_prefix_inplace If `s` starts with `prefix`, remove it in-place and
src/string_helpers.hpp:30
↓ 5 callers
Function
wip_parent_oid
--------------------------------------------------------------------------- wip_parent_oid Determine the commit that a new WIP commit should be paren
src/wip_helpers.hpp:28
↓ 4 callers
Function
find_refs
--------------------------------------------------------------------------- find_refs Enumerate references whose names begin with `prefix`. Example:
src/git_helpers.hpp:99
↓ 3 callers
Function
color_branch
src/color.cpp:78
↓ 3 callers
Method
name
src/cmd_log.hpp:8
↓ 3 callers
Function
oid_to_short_hex
--------------------------------------------------------------------------- oid_to_short_hex — first 7 characters of the hex OID --------------------
src/git_helpers.hpp:31
↓ 3 callers
Function
print
src/print_compat.hpp:30
↓ 2 callers
Function
print_main_help
src/main.cpp:21
↓ 2 callers
Method
run
src/cmd_log.cpp:12
↓ 2 callers
Function
stdout_is_tty
src/color.cpp:22
↓ 1 callers
Function
color_commit_hash
src/color.cpp:86
↓ 1 callers
Function
color_init
src/color.cpp:28
↓ 1 callers
Function
delete_ref
src/cmd_delete.cpp:16
↓ 1 callers
Method
desc
src/cmd_log.hpp:12
↓ 1 callers
Function
lower_copy
src/color.cpp:15
Method
GitLibGuard
src/git_guards.hpp:15
Function
TEST
test/unit/test_git_helpers.cpp:14
Function
TEST
No wip branch at all → parent should be work_last
test/unit/test_wip_helpers.cpp:11
Function
TEST
test/unit/test_string_helpers.cpp:12
Method
TestRepo
Default constructor: derive the directory name from the currently-running gtest case ("SuiteName/TestName"). Must be called from inside a TEST() body
test/unit/test_repo_fixture.hpp:44
Method
desc
src/cmd_save.hpp:12
Method
desc
src/cmd_delete.hpp:12
Method
desc
src/cmd_status.hpp:12
Method
desc
src/cmd_list.hpp:13
Method
finish_callback
()
sublime/gitwip.py:18
Method
get
src/git_guards.hpp:33
Method
get
src/git_guards.hpp:41
Method
get
src/git_guards.hpp:49
Method
get
src/git_guards.hpp:57
Method
get
src/git_guards.hpp:65
Method
get
src/git_guards.hpp:73
Method
green
src/color.cpp:59
Method
init
test/unit/test_repo_fixture.hpp:60
Method
last_error
test/unit/test_repo_fixture.hpp:174
Function
main
src/main.cpp:30
Method
name
src/cmd_save.hpp:8
Method
name
src/cmd_delete.hpp:8
Method
name
src/cmd_status.hpp:8
Method
name
src/cmd_list.hpp:9
Method
on_post_save_async
(self, view)
sublime/gitwip.py:9
Method
ptr
src/git_guards.hpp:35
Method
ptr
src/git_guards.hpp:43
Method
ptr
src/git_guards.hpp:51
Method
ptr
src/git_guards.hpp:59
Method
ptr
src/git_guards.hpp:67
Method
ptr
src/git_guards.hpp:75
Method
red
src/color.cpp:55
Method
reset
src/color.cpp:67
Method
rgb
src/color.cpp:71
Method
run
src/cmd_delete.cpp:33
Method
run
src/cmd_save.cpp:16
Method
run
src/cmd_status.cpp:16
Method
run
src/cmd_list.cpp:14
Method
yellow
src/color.cpp:63
Method
~Command
Virtual destructor to ensure proper cleanup of derived classes
src/command.hpp:14
Method
~GitCommitGuard
src/git_guards.hpp:48
Method
~GitIndexGuard
src/git_guards.hpp:32
Method
~GitLibGuard
src/git_guards.hpp:16
Method
~GitReferenceGuard
src/git_guards.hpp:56
Method
~GitRepoGuard
src/git_guards.hpp:24
Method
~GitRevwalkGuard
src/git_guards.hpp:72
Method
~GitSignatureGuard
src/git_guards.hpp:64
Method
~GitTreeGuard
src/git_guards.hpp:40
Method
~TestRepo
test/unit/test_repo_fixture.hpp:90