Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdana committed Dec 2, 2023
1 parent ef550cd commit 72869f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/git_commit_during_rebase
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

echo git_commit_during_rebase;
git_add_p && ( git_status_clean || git commit --no-edit --no-verify 2> /dev/null || ( git_find_sha HEAD && git commit --amend --no-edit --no-verify ) ) && ( git_status_clean || git_stash )
git_add_p && ( git_status_clean || git commit --no-edit --no-verify 2> /dev/null || ( git commit --amend --no-edit --no-verify ) ) && ( git_status_clean || git_stash )
3 changes: 1 addition & 2 deletions bin/git_log_range
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

from="$(git_branch_name "$1")";
to="$(git_branch_name ${2:-HEAD})";
prefix="$3";
[[ "$from" != "$(git_branch_name)" ]] && echo "$prefix$from".."$prefix$to"
[[ "$from" != "$(git_branch_name)" ]] && echo "$from".."$to"

0 comments on commit 72869f2

Please sign in to comment.