summaryrefslogtreecommitdiffstats
path: root/libimagstorestdhook/src/vcs/git
AgeCommit message (Collapse)Author
2017-06-06libimagstorestdhook: RemoveMatthias Beyer
2017-05-03Adapt git hooks to toml 0.4Matthias Beyer
2016-10-07Add more detailed errorsMatthias Beyer
2016-10-07Refactor codebase to be more readableMatthias Beyer
2016-10-07Add changes to index before committing, if config enabled itMatthias Beyer
2016-10-07Check diff, if empty do nothingMatthias Beyer
2016-10-06Add StoreAction enum type for store unload hookMatthias Beyer
2016-10-06Add initial codebase for store-unload hookMatthias Beyer
2016-10-06Check whether committing is enabled before doing soMatthias Beyer
2016-10-06Add helper to check whether committing is enabledMatthias Beyer
2016-10-01libimagstorestdhook: Add copyright notice to all filesMatthias Beyer
2016-09-20Return if the file is not new and not modifiedMatthias Beyer
2016-09-20Add debug output on file statusMatthias Beyer
2016-09-20Merge pull request #757 from ↵Matthias Beyer
matthiasbeyer/libimagstorestdhook/git-revert-no-commit-on-clean-wd libimagstorestdhook/git revert no commit on clean wd
2016-09-20Revert "Add helper fn to check whether the repository WD is dirty"Matthias Beyer
This reverts commit eb378d47c2c37e04f5c4130aec023142212c6abe.
2016-09-20Revert "Abort the execution of the UpdateHook if repo isnt dirty"Matthias Beyer
This reverts commit b2a0758b1ad24e0707c40ab375396acdd3a3a325.
2016-09-20util: get_bool_cfg(): Output with warn!() instead of debug!()Matthias Beyer
2016-09-20util: get_bool_cfg(): more debug outputMatthias Beyer
2016-09-20UpdateHook: return Ok(()) if disabledMatthias Beyer
2016-09-20DeleteHook: return Ok(()) if disabledMatthias Beyer
2016-09-20Add config helper to check whether hook is enabled or notMatthias Beyer
2016-09-19Fix debug output, use action to generate msgMatthias Beyer
2016-09-19Fix check whether we should checkout the ensure_branchMatthias Beyer
We should test this not at the top of the function, as if we do not have to check out the ensure_branch, we still have to verify that there actually is a branch checked out we have to ensure. What I'm saying is: We might have to be on "master", but we might not have to check it out if we aren't. Therefor, this commit moves the location where we check whether we should checkout the branch.
2016-09-19Add error kind for wrong branch checked outMatthias Beyer
2016-09-19Remove unused importMatthias Beyer
2016-09-19Variable hasnt to be mutableMatthias Beyer
2016-09-19Runtime::ensure_cfg_branch_is_checked_out() should check whether config ↵Matthias Beyer
enforces this
2016-09-19Change abort_on_repo_init_err() to take Value instead of Option<Value>Matthias Beyer
2016-09-19Fix debug messages in Runtime::ensure_cfg_branch_is_checked_out()Matthias Beyer
2016-09-19UpdateHook: Ensure the right branch is checked outMatthias Beyer
2016-09-19DeleteHook: Ensure the right branch is checked outMatthias Beyer
2016-09-19UpdateHook: Add config-based abort if repo init failedMatthias Beyer
2016-09-19DeleteHook: Add config-based abort if repo init failedMatthias Beyer
2016-09-19Add error kind for repo initialization errorsMatthias Beyer
2016-09-18Provide better commit template message, including action and store idMatthias Beyer
2016-09-18Merge pull request #748 from matthiasbeyer/libimagstorestdhook/git-debug-outputMatthias Beyer
libimagstorestdhook/git: More debug output
2016-09-18Merge pull request #747 from ↵Matthias Beyer
matthiasbeyer/libimagstorestdhook/git-fix-warn-messages libimagstorestdhook/git: fix warn messages
2016-09-18Merge pull request #746 from ↵Matthias Beyer
matthiasbeyer/libimagstorestdhook/git-refactor-error-mapping libimagstorestdhook/git: refactor error mapping
2016-09-18Remove unused error kindsMatthias Beyer
2016-09-18Add debug output for DeleteHookMatthias Beyer
2016-09-18Add debug output for UpdateHookMatthias Beyer
2016-09-18Minify Runtime::new() by refactoring error tracingMatthias Beyer
2016-09-18Fix warn!() output to be action sensitiveMatthias Beyer
2016-09-18Add StoreAction::as_commit_message() utility fnMatthias Beyer
2016-09-18Merge pull request #739 from matthiasbeyer/libimagstorestdhook/git-delete-hookMatthias Beyer
libimagstorestdhook/git delete hook
2016-09-17Abort the execution of the UpdateHook if repo isnt dirtyMatthias Beyer
2016-09-17Add helper fn to check whether the repository WD is dirtyMatthias Beyer
2016-09-17Add implementation for delete hookMatthias Beyer
2016-09-17Impl Debug for DeleteHookMatthias Beyer
2016-09-17DeleteHook: Use Runtime object internally for storing configMatthias Beyer