Issues related to the Nest, i.e. this website. The source code for the Nest is not yet public.

#46 [UWAGA, CONSISTENCY, SCARY] a lost "new line"

Closed on July 5, 2021
tankf33der on July 5, 2021

my laptop vs. linux2x repo.

$ pijul change PZS
message = '.'
timestamp = '2021-07-05T05:49:24.431360696Z'

[[authors]]
key = '7aNgoHULmBdh9S178c4R7eQJBLjiNUYt9rKUnooJ1eWT'

# Dependencies
[2] PQZXTOS7CBHXK7LHYR6DTRHRU3M4XJSOBUCJHNXYRSCRBP7G7GUAC

# Hunks

1. Edit in tag.sh:2 2.1 "UTF-8"
  up 2.22, new 0:1, down 2.22
+ 
$

This is latest record, this change have both laptop and remote repo.

I have edited a file and add new line on line #2.

File on laptop have this new line and repo dont, cksum are different too.

$ head tag.sh
#!/usr/bin/env bash

set -x -e

source ./functions.sh

cd ..
rm -rf linux2x-data
mkdir linux2x-data
cd linux2x-data
$ cksum tag.sh
3007785107 728 tag.sh
$

remote repo:

$ head tag.sh 
#!/usr/bin/env bash
set -x -e                        # <--- here should be a new line.

source ./functions.sh

cd ..
rm -rf linux2x-data
mkdir linux2x-data
cd linux2x-data
pijul init repo
$ cksum tag.sh
3456851116 727 tag.sh

See, one byte is lost.

tankf33der on July 5, 2021

If I do a full clone I got this byte and cksum of tag.sh is correct vs. laptop.

tankf33der on July 5, 2021

Fixed.

tankf33der closed this discussion on July 5, 2021