Skip to content
ruphinPublic
forked from git/git

About

Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

68,653 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyGlit

This is a fork of git that I use for polyglot file purposes. It allows creating git bundles of a repository where specific files are not compressed.

Installation Instructions (Ubuntu)

  • Clone this repo
  • sudo apt install libssl-dev libcurl4-openssl-dev gettext
  • make && make install

Now you have a special build of git in ~/bin

Usage

Run this in any git repository

~/bin/git bundle create output.file --do-not-compress `git hash-object uncompressed.file` --all

Example

mkdir test && cd test
echo "This will be in plaintext in the bundle" > clear.txt
echo "This will be encrypted" > encrypted.txt
git init && git add . && git commit -m "test"
~/bin/git bundle create bundle.file --do-not-compress `git hash-object clear.txt` --all

If you open bundle.file you will find the plaintext

About

Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages