浏览代码

Fix bug in git alias snap

pull/15/head
10sr 9 年前
父节点
当前提交
74883bedbc
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. +1
    -1
      Makefile
  2. +3
    -0
      emacs.el

+ 1
- 1
Makefile 查看文件

@@ -323,7 +323,7 @@ endif

$(git_conf) alias.todo "grep -nH -E -i 'todo:|note:|fixme:'"

$(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$gitdir"/logs/refs/snapshot && cmt=`git stash create` && test -n "$$cmt" && git update-ref refs/snapshot $$cmt && echo Snapshot created: $$cmt'
$(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$$gitdir"/logs/refs/snapshot && cmt=`git stash create` && test -n "$$cmt" && git update-ref refs/snapshot $$cmt && echo Snapshot created: $$cmt'

#$(git_conf) alias.wc "!git ls-files -z | xargs -0 wc"
# $(git_conf) push.default "simple"


+ 3
- 0
emacs.el 查看文件

@@ -978,6 +978,9 @@ IF OK-IF-ALREADY-EXISTS is true force download."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; some modes and hooks

(when (autoload-eval-lazily 'term-run '(term-run-shell-command term-run))
(define-key ctl-x-map "t" 'term-run-shell-command))

(add-to-list 'safe-local-variable-values
'(encoding utf-8))
(setq enable-local-variables :safe)


正在加载...
取消
保存