我尝试使用 'git svn dcommit' 但出现以下错误:
存储库挂钩失败:“预提交”挂钩失败,错误输出:
*** Transaction blocked
TRAILING WHITESPACE discovered in these files
designs/trunk/1167923/cfg/main.cpp
designs/trunk/1167923/cfg/Registers.cpp
Code does not conform to whitespace standard
at /usr/lib/git-core/git-svn line 922
我不知道如何解决它。
这是我的配置:
receive.denynonfastforwards=true
alias.st=status
alias.ci=commit
alias.co=checkout
alias.br=branch
alias.log1=log --oneline
alias.fetchavs=fetch --all --progress -v
alias.pushav=push --all --progress -v
alias.dfb=diff -b
alias.dfw=diff -w
color.ui=auto
color.branch=auto
color.diff=auto
color.interactive=auto
color.status=auto
core.autocrlf=input
core.safecrlf=true
core.whitespace=nowarn
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
svn-remote.svn.url=http://svn
svn-remote.svn.fetch=designs/trunk/1167923:refs/remotes/trunk
svn-remote.svn.branches=designs/branches/1167923/*:refs/remotes/*
svn-remote.svn.tags=designs/tags/1167923/*:refs/remotes/tags/*