Skip to content

Commit

Permalink
Use ';' as comment char in git
Browse files Browse the repository at this point in the history
  • Loading branch information
emi2k01 committed Jun 22, 2022
1 parent 16cf9fe commit 842d689
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "git-ct"
version = "0.0.15"
version = "0.0.16"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion npm/binary.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { Binary } = require("@emi2k01/binary-install");
const os = require("os");
const cTable = require("console.table");

const VERSION = "0.0.15";
const VERSION = "0.0.16";

const error = (msg) => {
console.error(msg);
Expand Down
2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "git-ct",
"version": "0.0.9",
"version": "0.0.10",
"description": "Git commit templates",
"main": "binary.js",
"bin": {
Expand Down
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ fn main() -> anyhow::Result<()> {
let commit_template = temp_file::with_contents(commit_msg.as_bytes());
std::process::Command::new("git")
.args(&[
"-c",
"core.commentChar=;",
"commit",
"-t",
commit_template.path().as_os_str().to_str().unwrap(),
Expand Down

0 comments on commit 842d689

Please sign in to comment.