Comments (10)
@zwpaper 我刚才看了一下你这个问题,我觉得例子没有错,因为最可能的原因是不可见字符。可能这些不可见字符在放到这儿时已经弄没了。
要先彻底排除不可见字符的影响,很简单,把命令输出重定向到文件中,用十六进制编辑器打开数数字节就知道了。
$ ssh -x [email protected] "git-receive-pack 'zwpaper/progit2-zh'" > result.bin
打开 result.bin 看看就知道了,我刚才测试了一下,没有问题,输出的结果是正确的。
from progit2-zh.
@zwpaper 英文版我也拉取到最新大概看了下,和中文版的例子一样,没有改动,你也可以看下。
from progit2-zh.
@zwpaper 另外我刚才用 VIM 文本模式打开过那个结果文件,的确有个不可见字符被转义显示出来了。
from progit2-zh.
@networm 我也去英文版看了一下,但是我怕是我理解不到位,所以先在这边问一下。
我也把输出转到文件中看了一下,我执行的命令的输出是对的,前面 4 个字符指出了本行的长度。
from progit2-zh.
@zwpaper 那就没问题了,例子中有不可见字符丢失并没问题,需要的人自己做实验就可以了。
from progit2-zh.
@zwpaper 如果没问题的话这个 Issue 可以关闭了。
from progit2-zh.
@networm 我的意思是自己执行的命令可以看出前面 4 个字符是指的本行长度,但是例子的输出应该是有问题的,例子的行长度甚至比行首 4 个字符所说明的还要长。
from progit2-zh.
@zwpaper 那需要给作者提一个 Issue,让他重新跑一次这个命令,把原文修正了。然后我们也可以拉取新的。
from progit2-zh.
@networm 我去提一个,问问看。
from progit2-zh.
@zwpaper OK
from progit2-zh.
Related Issues (20)
- Git基础-撤销操作关于--amend选项的小提示翻译有点问题 HOT 1
- Git mv操作那部分的最后一段里的批处理重命名是从哪里翻译的? HOT 5
- 【1.3 起步】中文翻译有歧义 HOT 1
- 【2.2 Git基础 - 记录每次更新到仓库】文字输入错序 HOT 2
- 【翻译不全】10.6 传输协议 HOT 1
- git-scm.com 网站上没有book/introduction HOT 1
- To enable automatic compilation of books, please fix failing URLs HOT 2
- 新版本git已经使用switch 和restore代替了checkout,但是翻译中还没有修改 HOT 3
- 【服务器上的Git · GitLab · 基本用途】 小节 (PDF 121 页)语句翻译错误 HOT 3
- bug report for 'bug report template'
- 【分布式Git · 向一个项目贡献 · 提交准则】 小节(PDF 128页)译文错误
- 建议去掉示例中的 git restore HOT 1
- git子模块章节翻译笔误 HOT 1
- 无法复现git status -s MM状态
- 第8章出现了多余的翻译 HOT 2
- 第3章《分支的新建与合并》的翻译“暂存(stashing)”是否有歧义、前后不一致 HOT 5
- 【显示错误】2.2 Git 基础 - 记录每次更新到仓库 HOT 10
- Epub build failed with missing end-tag HOT 6
- 7.8 节Git 工具-高级合并-其他类型的合并-我们的或他们的偏好-最后一段对 ours 解释模糊 HOT 1
- 章节「5.2 分布式 Git - 向一个项目贡献」中对源自 Tim Pope 的提交信息模板的翻译可能不够准确, HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from progit2-zh.