From 29cf7e97c4173e11a63f42e7968bee7273762a8f Mon Sep 17 00:00:00 2001
From: Florian Atteneder <florian.atteneder@uni-jena.de>
Date: Mon, 5 Aug 2024 15:30:16 +0000
Subject: [PATCH] dg1d: do not strip trailing newline chars as this might
 corrupt git patches
 (https://git.tpi.uni-jena.de/dg/dg1d.jl/-/merge_requests/194)

---
 src/utils.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.jl b/src/utils.jl
index fc91862c..b1acec2f 100644
--- a/src/utils.jl
+++ b/src/utils.jl
@@ -439,5 +439,5 @@ function gitdirty()
   catch e
     @warn "Failed to retrieve dirty status from git repo. Reason: $(e)"
   end
-  return String(take!(out)) |> rstrip
+  return String(take!(out))
 end
-- 
GitLab