• Home
  • Uncategorized
  • git pull error: fatal: protocol error: bad line length character: Fail

git pull error: fatal: protocol error: bad line length character: Fail

Solution to fix:
“fatal: protocol error: bad line length character: Fail”

The error:

# git pull
fatal: protocol error: bad line length character: Fail

Solution:
Change the login shell of user git from /bin/sh to /bin/bash

[email protected]:~# chsh -s /bin/bash git

Now retrying:

# git pull
remote: Counting objects: 20, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 20 (delta 11), reused 0 (delta 0)
Unpacking objects: 100% (20/20), done.
From gitmaster.droidzone.in:droidzone/bash-advanced-scripts
   84fa4aa..cccfa41  master     -> origin/master
Updating 84fa4aa..cccfa41
Fast-forward
 batchtorrent.pl   |  237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 gitlabrestart     |    4 +++
 loadtorrents.pl   |  134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 readfile.pl       |  140 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 rotten2torrent.pl |  269 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 784 insertions(+)
 create mode 100755 batchtorrent.pl
 create mode 100755 gitlabrestart
 create mode 100755 loadtorrents.pl
 create mode 100755 readfile.pl
 create mode 100755 rotten2torrent.pl

Edit: This is not the proper fix.