mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-10-05 15:35:29 +02:00
9 lines
277 B
Bash
9 lines
277 B
Bash
#!/bin/sh
|
|
|
|
added_files=`git log -1 --name-status --pretty="format:" | grep -E '^A' | \
|
|
cut -f2`
|
|
modified_files=`git log -1 --name-status --pretty="format:" | grep -E '^M' | \
|
|
cut -f2`
|
|
deleted_files=`git log -1 --name-status --pretty="format:" | grep -E '^D' | \
|
|
cut -f2`
|