aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-27 15:22:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-27 15:22:52 -0400
commit74a94ddfac2940575721826911dd8b15a74011e5 (patch)
tree708eabf87ee668eaaa7d9944a2bdc90988a6d494 /doc/bugs
parent38bd7ca3cce455c20edcee656c706939087c6a69 (diff)
Windows: Avoid terminating git-annex branch lines with \r\n when union merging.
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/Whereis_reports_same_UUID_multiple_times.mdwn3
-rw-r--r--doc/bugs/Whereis_reports_same_UUID_multiple_times/comment_6_d3adcfad215b3f39cc5bc3ff248e4b86._comment15
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/Whereis_reports_same_UUID_multiple_times.mdwn b/doc/bugs/Whereis_reports_same_UUID_multiple_times.mdwn
index baeea5e0e..249576b1d 100644
--- a/doc/bugs/Whereis_reports_same_UUID_multiple_times.mdwn
+++ b/doc/bugs/Whereis_reports_same_UUID_multiple_times.mdwn
@@ -92,3 +92,6 @@ I am running "git-annex version: 6.20160511-g4633f0b" on Windows, but I have bee
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes it is working very nicely on all my linux computers, and right now I am mostly concerned that I might have messed up the repository by trying out Windows :-(.
+> [[fixed|done]]; repositories in this state are now handled appropriately
+> by git-annex. And, I've fixed at least the places I was able to identify
+> where '\r' slipped in. --[[Joey]]
diff --git a/doc/bugs/Whereis_reports_same_UUID_multiple_times/comment_6_d3adcfad215b3f39cc5bc3ff248e4b86._comment b/doc/bugs/Whereis_reports_same_UUID_multiple_times/comment_6_d3adcfad215b3f39cc5bc3ff248e4b86._comment
new file mode 100644
index 000000000..30951378e
--- /dev/null
+++ b/doc/bugs/Whereis_reports_same_UUID_multiple_times/comment_6_d3adcfad215b3f39cc5bc3ff248e4b86._comment
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-05-27T19:03:05Z"
+ content="""
+Union merge on windows does indeed add \r onto lines.
+
+Looks like hashBlob is at fault; it writes a string to a temp file,
+and the IO layer does CRLF conversion at that point.
+
+The git-annex branch transition code also uses hashBlob so would also
+do it.
+
+So I've reproduced the root cause of this now. Fixing..
+"""]]