"etckeeper unclean" is broken
Bug #1096491 reported by
Rolf Leggewie
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
etckeeper (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I use etckeeper 0.61ubuntu2 and git 1:1.7.9.5-1 in precise. "etckeeper unclean" returns wrong information, in fact, I have never managed for it to tell me the directory contains uncommited changes.
$ sudo git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: .etckeeper
# deleted: cups/subscripti
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .etckeeper
# modified: apt/sources.list
#
$ sudo etckeeper unclean
$
Changed in etckeeper (Ubuntu): | |
importance: | Undecided → Medium |
Changed in etckeeper (Ubuntu): | |
status: | Invalid → Confirmed |
status: | Confirmed → Invalid |
To post a comment you must log in.
I just ran into this. A better description is that etckeeper unclean is broken when using git.
# git status
# On branch master
nothing to commit (working directory clean)
# etckeeper unclean
# echo $?
1
Obviously that should return 0.