Package: git
Version: 1:2.39.5-0+deb12u2
Severity: minor

Dear Maintainer,

$ git init
$ printf 'a\0' > a
$ printf 'b\0' > b
$ git add .
$ git commit -m a
$ printf 'A\0' > a
$ rm b
$ git add -p
diff --git a/b b/b
deleted file mode 100644
index 28eacf2..0000000
Binary files a/b and /dev/null differ
(1/1) Stage deletion [y,n,q,a,d,?]? y
error: cannot apply binary patch to 'b' without full index line
error: b: patch does not apply
error: 'git apply' failed

Best,

-- System Information:
Debian Release: 12.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-35-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages git depends on:
ii  git-man          1:2.39.5-0+deb12u2
ii  libc6            2.36-9+deb12u10
ii  libcurl3-gnutls  7.88.1-10+deb12u14
ii  liberror-perl    0.17029-2
ii  libexpat1        2.5.0-1+deb12u1
ii  libpcre2-8-0     10.42-1
ii  perl             5.36.0-7+deb12u3
ii  zlib1g           1:1.2.13.dfsg-1

Versions of packages git recommends:
ii  ca-certificates              20230311
ii  less                         590-2.1~deb12u2
ii  openssh-client [ssh-client]  1:9.2p1-2+deb12u6
ii  patch                        2.7.6-7.1

Versions of packages git suggests:
ii  gettext-base                          0.21-12
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
pn  git-doc                               <none>
pn  git-email                             <none>
pn  git-gui                               <none>
pn  git-mediawiki                         <none>
ii  git-svn                               1:2.39.5-0+deb12u2
pn  gitk                                  <none>
pn  gitweb                                <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to